File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,15 @@ def _convert_stdstreams_to_files(workflowobj):
7070 raise ValidationException (
7171 "Not allowed to specify inputBinding when"
7272 " using stdin shortcut." )
73- if 'stdin' in workflowobj :
74- raise ValidationException (
75- "Not allowed to specify stdin path when"
76- " using stdin type shortcut." )
77- else :
78- workflowobj ['stdin' ] = \
79- "${inputs.%s.path}" % inp ['id' ]
80- inp ['type' ] = 'File'
73+ if 'stdin' in workflowobj :
74+ raise ValidationException (
75+ "Not allowed to specify stdin path when"
76+ " using stdin type shortcut." )
77+ else :
78+ workflowobj ['stdin' ] = \
79+ "$(inputs.%s.path)" % \
80+ inp ['id' ].rpartition ('#' )[2 ]
81+ inp ['type' ] = 'File'
8182 else :
8283 for entry in workflowobj .itervalues ():
8384 _convert_stdstreams_to_files (entry )
You can’t perform that action at this time.
0 commit comments