File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -702,14 +702,9 @@ def process_workflow_inputs_and_outputs(
702
702
target_type .name = None
703
703
target = cwl .WorkflowInputParameter (id = None , type = target_type )
704
704
if not isinstance (param2 .outputSource , list ):
705
- sources : Union [List [str ], str ] = "/" .join (
706
- param2 .outputSource .split ("#" )[- 1 ].split ("/" )[1 :]
707
- )
705
+ sources : Union [List [str ], str ] = param2 .outputSource .split ("#" )[- 1 ]
708
706
else :
709
- sources = [
710
- "/" .join (s .split ("#" )[- 1 ].split ("/" )[1 :])
711
- for s in param2 .outputSource
712
- ]
707
+ sources = [s .split ("#" )[- 1 ] for s in param2 .outputSource ]
713
708
source_type_items = utils .type_for_source (workflow , sources )
714
709
if "null" not in source_type_items :
715
710
if isinstance (source_type_items , list ):
Original file line number Diff line number Diff line change 13
13
Callable ,
14
14
Dict ,
15
15
List ,
16
- MutableSequence ,
17
16
MutableMapping ,
17
+ MutableSequence ,
18
18
Optional ,
19
19
Tuple ,
20
20
Union ,
You can’t perform that action at this time.
0 commit comments