8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad89d65 commit ae15ec1Copy full SHA for ae15ec1
cwlgen/requirements.py
@@ -210,15 +210,16 @@ def parse_dict(cls, d):
210
# }
211
212
213
-class SoftwareRequirement(Requirement):
+class
214
+ment(Requirement):
215
"""
216
A list of software packages that should be configured in the environment of the defined process.
217
218
Documentation: https://www.commonwl.org/v1.0/Workflow.html#SoftwareRequirement
219
- def __init__(self):
220
+ def __init__(self, packages=None):
221
Requirement.__init__(self, "SoftwareRequirement")
- self.packages = [] # list[SoftwarePackage]
222
+ self.packages = packages or [] # list[SoftwarePackage]
223
224
class SoftwarePackage(Serializable):
225
0 commit comments