Skip to content

Commit

Permalink
fixed .inputs(..) call
Browse files Browse the repository at this point in the history
  • Loading branch information
bw2 committed Oct 22, 2023
1 parent a7be32a commit 9e3e863
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions step_pipeline/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,9 +795,6 @@ def inputs(self, source_path, *source_paths, name=None, localize_by=None):
list: A list of InputSpec objects that describe these input files or directories. The list will contain
one entry for each passed-in source path.
"""
if len(source_paths) == 0:
return self.input(source_path, name=name, localize_by=localize_by)

source_paths_flat_list = []
for source_path in [source_path, *source_paths]:
if isinstance(source_path, str):
Expand Down

0 comments on commit 9e3e863

Please sign in to comment.