Skip to content

Commit

Permalink
added a bug fix: during adding of connections involving templates
Browse files Browse the repository at this point in the history
  • Loading branch information
asitang committed Oct 5, 2021
1 parent fbe9723 commit c1f1e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jpl/pipedreams/data_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,10 @@ def add_connection(self, s_resource_ID, s_name, t_resource_ID, t_name, silent=Fa
return

if s_name in self.templates.keys():
s_name=self.templates[s_name][0][0]
s_name=self.templates[s_name][-1][0]

if t_name in self.templates.keys():
t_name=self.templates[t_name][-1][0]
t_name=self.templates[t_name][0][0]

task_ID_A = Task.concoct_task_ID(s_name, s_resource_ID)
task_ID_B = Task.concoct_task_ID(t_name, t_resource_ID)
Expand Down

0 comments on commit c1f1e8c

Please sign in to comment.