Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit 6c72cc5

Browse files
committed
Fixing output error
1 parent e01dd1b commit 6c72cc5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cwlgen/workflow.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ def get_dict(self):
9898
if self.outputs:
9999
dict_param['out'] = []
100100
for i in self.outputs:
101-
dict_param['out'].append(i)
101+
if isinstance(i, WorkflowStepOutput):
102+
dict_param['out'].append(i.id)
103+
else:
104+
dict_param['out'].append(i)
102105

103106
return dict_param
104107

0 commit comments

Comments
 (0)