Skip to content

Commit 02705fc

Browse files
committed
bad dict key check
1 parent 93cec0c commit 02705fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/load_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _convert_stdstreams_to_files(workflowobj):
5252
for out in workflowobj['outputs']:
5353
for streamtype in ['stdout', 'stderr']:
5454
if out['type'] == streamtype:
55-
if out['outputBinding']:
55+
if 'outputBinding' in out:
5656
raise validate.ValidateException(
5757
"Not allowed to specify outputBinding when"
5858
" using %s shortcut." % streamtype)

0 commit comments

Comments
 (0)