8000 Fixes minor documentation and make sure value_from is mapped · illusional/python-cwlgen@76f5be1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 76f5be1

Browse files
committed
Fixes minor documentation and make sure value_from is mapped
1 parent 6254d52 commit 76f5be1

File tree

1 file changed

+4
-2
lines changed

cwlgen/workflow.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ def __init__(self, param_id, label=None, secondary_files=None, param_format=None
150150
:type doc: STRING
151151
:param param_type: type of data assigned to the parameter
152152
:type param_type: STRING corresponding to CWLType
153+
:param input_binding:
154+
:type input_binding: CommandLineBinding
155+
153156
"""
154157
Parameter.__init__(self, param_id=param_id, label=label,
155158
secondary_files=secondary_files, param_format=param_format,
@@ -272,8 +275,7 @@ def __init__(self, input_id, source=None, link_merge=None, default=None, value_f
272275
self.source = source
273276
self.linkMerge = parse_link_merge_method(link_merge)
274277
self.default = default
275-
self.valueFrom = self.valueFrom
276-
278+
self.valueFrom = value_from
277279

278280
def get_dict(self):
279281
"""

0 commit comments

Comments
 (0)
0