Skip to content

Commit

Permalink
fixed switch direction criterion (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisri committed Aug 4, 2023
1 parent 478f672 commit 641a604
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions capsul/pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -2356,8 +2356,7 @@ def get_linked_items(self, node, plug_name=None, in_sub_pipelines=True,
stack.append((dest_node, dest_plug_name))
for input_plug_name, output_plug_name \
in dest_node.connections():
if plug.output ^ isinstance(node,
Pipeline):
if current_direction == 'links_to':
if dest_plug_name == input_plug_name:
if not process_only \
and (dest_node,
Expand Down

0 comments on commit 641a604

Please sign in to comment.