Skip to content

Commit

Permalink
code cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
denisri committed Aug 31, 2023
1 parent de6bb8f commit 9e7cea2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions capsul/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -736,9 +736,10 @@ def parameter_dataset_name(self, process, field):
inner_field_name = None
if isinstance(process, Pipeline):
# inner_item = next(process.get_linked_items(
# process, field.name, direction=('links_from' if field.is_output() else 'links_to')), None)
# process, field.name, direction=('links_from' if field.is_output() else 'links_to')), None)
inner_item = next(process.get_linked_items(
process, field.name, in_outer_pipelines=False), None)
process, field.name, in_outer_pipelines=False),
None)
else:
inner_item = None
if inner_item is not None:
Expand Down

0 comments on commit 9e7cea2

Please sign in to comment.