Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cwlgen/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,16 @@ def parse_dict(cls, d):
# }


class SoftwareRequirement(Requirement):
class
ment(Requirement):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @illusional

I suppose this is a typo?

Cheers
M

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes :(

"""
A list of software packages that should be configured in the environment of the defined process.

Documentation: https://www.commonwl.org/v1.0/Workflow.html#SoftwareRequirement
"""
def __init__(self):
def __init__(self, packages=None):
Requirement.__init__(self, "SoftwareRequirement")
self.packages = [] # list[SoftwarePackage]
self.packages = packages or [] # list[SoftwarePackage]

class SoftwarePackage(Serializable):
"""
Expand Down