Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Dec 25, 2024
1 parent ade03b4 commit a984d1c
Show file tree
Hide file tree
Showing 3 changed files with 279 additions and 93 deletions.
108 changes: 81 additions & 27 deletions cwl_utils/parser/cwl_v1_0.py
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,9 @@ def __init__(
else:
self.loadingOptions = LoadingOptions()
self.doc = doc
self.name = name
if name is not None:
self.name = name

self.type_ = type_

def __eq__(self, other: Any) -> bool:
Expand Down Expand Up @@ -1654,7 +1656,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.name = name
if name is not None:
self.name = name

self.symbols = symbols
self.type_ = type_

Expand Down Expand Up @@ -2727,7 +2731,9 @@ def __init__(
else:
self.loadingOptions = LoadingOptions()
self.doc = doc
self.name = name
if name is not None:
self.name = name

self.type_ = type_

def __eq__(self, other: Any) -> bool:
Expand Down Expand Up @@ -4425,7 +4431,9 @@ def __init__(
else:
self.loadingOptions = LoadingOptions()
self.doc = doc
self.name = name
if name is not None:
self.name = name

self.type_ = type_
self.inputBinding = inputBinding
self.label = label
Expand Down Expand Up @@ -4807,7 +4815,9 @@ def __init__(
self.fields = fields
self.type_ = type_
self.label = label
self.name = name
if name is not None:
self.name = name


def __eq__(self, other: Any) -> bool:
if isinstance(other, InputRecordSchema):
Expand Down Expand Up @@ -5128,7 +5138,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.name = name
if name is not None:
self.name = name

self.symbols = symbols
self.type_ = type_
self.label = label
Expand Down Expand Up @@ -5828,7 +5840,9 @@ def __init__(
else:
self.loadingOptions = LoadingOptions()
self.doc = doc
self.name = name
if name is not None:
self.name = name

self.type_ = type_
self.outputBinding = outputBinding

Expand Down Expand Up @@ -6413,7 +6427,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.name = name
if name is not None:
self.name = name

self.symbols = symbols
self.type_ = type_
self.label = label
Expand Down Expand Up @@ -7121,7 +7137,9 @@ def __init__(
self.secondaryFiles = secondaryFiles
self.streamable = streamable
self.doc = doc
self.id = id
if id is not None:
self.id = id

self.format = format
self.inputBinding = inputBinding
self.default = default
Expand Down Expand Up @@ -7748,7 +7766,9 @@ def __init__(
self.secondaryFiles = secondaryFiles
self.streamable = streamable
self.doc = doc
self.id = id
if id is not None:
self.id = id

self.outputBinding = outputBinding
self.format = format

Expand Down Expand Up @@ -9677,7 +9697,9 @@ def __init__(
else:
self.loadingOptions = LoadingOptions()
self.doc = doc
self.name = name
if name is not None:
self.name = name

self.type_ = type_
self.inputBinding = inputBinding
self.label = label
Expand Down Expand Up @@ -10059,7 +10081,9 @@ def __init__(
self.fields = fields
self.type_ = type_
self.label = label
self.name = name
if name is not None:
self.name = name


def __eq__(self, other: Any) -> bool:
if isinstance(other, CommandInputRecordSchema):
Expand Down Expand Up @@ -10380,7 +10404,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.name = name
if name is not None:
self.name = name

self.symbols = symbols
self.type_ = type_
self.label = label
Expand Down Expand Up @@ -11080,7 +11106,9 @@ def __init__(
else:
self.loadingOptions = LoadingOptions()
self.doc = doc
self.name = name
if name is not None:
self.name = name

self.type_ = type_
self.outputBinding = outputBinding

Expand Down Expand Up @@ -11408,7 +11436,9 @@ def __init__(
self.fields = fields
self.type_ = type_
self.label = label
self.name = name
if name is not None:
self.name = name


def __eq__(self, other: Any) -> bool:
if isinstance(other, CommandOutputRecordSchema):
Expand Down Expand Up @@ -11729,7 +11759,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.name = name
if name is not None:
self.name = name

self.symbols = symbols
self.type_ = type_
self.label = label
Expand Down Expand Up @@ -12441,7 +12473,9 @@ def __init__(
self.secondaryFiles = secondaryFiles
self.streamable = streamable
self.doc = doc
self.id = id
if id is not None:
self.id = id

self.format = format
self.inputBinding = inputBinding
self.default = default
Expand Down Expand Up @@ -13073,7 +13107,9 @@ def __init__(
self.secondaryFiles = secondaryFiles
self.streamable = streamable
self.doc = doc
self.id = id
if id is not None:
self.id = id

self.outputBinding = outputBinding
self.format = format
self.type_ = type_
Expand Down Expand Up @@ -13654,7 +13690,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.id = id
if id is not None:
self.id = id

self.inputs = inputs
self.outputs = outputs
self.requirements = requirements
Expand Down Expand Up @@ -17001,7 +17039,9 @@ def __init__(
self.secondaryFiles = secondaryFiles
self.streamable = streamable
self.doc = doc
self.id = id
if id is not None:
self.id = id

self.outputBinding = outputBinding
self.format = format
self.type_ = type_
Expand Down Expand Up @@ -17575,7 +17615,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.id = id
if id is not None:
self.id = id

self.inputs = inputs
self.outputs = outputs
self.requirements = requirements
Expand Down Expand Up @@ -18238,7 +18280,9 @@ def __init__(
self.secondaryFiles = secondaryFiles
self.streamable = streamable
self.doc = doc
self.id = id
if id is not None:
self.id = id

self.outputBinding = outputBinding
self.format = format
self.outputSource = outputSource
Expand Down Expand Up @@ -18963,7 +19007,9 @@ def __init__(
self.loadingOptions = LoadingOptions()
self.source = source
self.linkMerge = linkMerge
self.id = id
if id is not None:
self.id = id

self.default = default
self.valueFrom = valueFrom

Expand Down Expand Up @@ -19343,7 +19389,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.id = id
if id is not None:
self.id = id


def __eq__(self, other: Any) -> bool:
if isinstance(other, WorkflowStepOutput):
Expand Down Expand Up @@ -19564,7 +19612,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.id = id
if id is not None:
self.id = id

self.in_ = in_
self.out = out
self.requirements = requirements
Expand Down Expand Up @@ -20294,7 +20344,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.id = id
if id is not None:
self.id = id

self.inputs = inputs
self.outputs = outputs
self.requirements = requirements
Expand Down Expand Up @@ -22464,7 +22516,9 @@ def __init__(
self.loadingOptions = loadingOptions
else:
self.loadingOptions = LoadingOptions()
self.id = id
if id is not None:
self.id = id

self.inputs = inputs
self.outputs = outputs
self.requirements = requirements
Expand Down
Loading

0 comments on commit a984d1c

Please sign in to comment.