Skip to content

Commit e443e0f

Browse files
author
Peter Amstutz
committed
Correctly scan for 'stdout' expansion when file contains multiple tools.
1 parent 07859d9 commit e443e0f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cwltool/load_tool.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ def _convert_stdstreams_to_files(workflowobj):
6363
workflowobj[streamtype] = filename
6464
out['type'] = 'File'
6565
out['outputBinding'] = {'glob': filename}
66-
else:
66+
else:
67+
for entry in workflowobj.itervalues():
68+
_convert_stdstreams_to_files(entry)
69+
if isinstance(workflowobj, list):
6770
for entry in workflowobj:
6871
_convert_stdstreams_to_files(entry)
6972

0 commit comments

Comments
 (0)