Skip to content

Commit cf987cc

Browse files
committed
now with IdentifierRequired
1 parent f28b50d commit cf987cc

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

cwl_utils/parser/cwl_v1_2.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4378,6 +4378,10 @@ class Identified(Saveable):
43784378
pass
43794379

43804380

4381+
class IdentifierRequired(Identified):
4382+
pass
4383+
4384+
43814385
class LoadContents(Saveable):
43824386
pass
43834387

@@ -4394,7 +4398,7 @@ class OutputFormat(Saveable):
43944398
pass
43954399

43964400

4397-
class Parameter(FieldBase, Documented, Identified):
4401+
class Parameter(FieldBase, Documented, IdentifierRequired):
43984402
"""
43994403
Define an input or output parameter to a process.
44004404

@@ -21994,7 +21998,7 @@ class Sink(Saveable):
2199421998
pass
2199521999

2199622000

21997-
class WorkflowStepInput(Identified, Sink, LoadContents, Labeled):
22001+
class WorkflowStepInput(IdentifierRequired, Sink, LoadContents, Labeled):
2199822002
"""
2199922003
The input of a workflow step connects an upstream parameter (from the
2200022004
workflow inputs, or the outputs of other workflows steps) with the input
@@ -22732,7 +22736,7 @@ def save(
2273222736
)
2273322737

2273422738

22735-
class WorkflowStepOutput(Identified):
22739+
class WorkflowStepOutput(IdentifierRequired):
2273622740
"""
2273722741
Associate an output parameter of the underlying process with a workflow
2273822742
parameter. The workflow parameter (given in the `id` field) be may be used
@@ -22897,7 +22901,7 @@ def save(
2289722901
attrs = frozenset(["id"])
2289822902

2289922903

22900-
class WorkflowStep(Identified, Labeled, Documented):
22904+
class WorkflowStep(IdentifierRequired, Labeled, Documented):
2290122905
"""
2290222906
A workflow step is an executable element of a workflow. It specifies the
2290322907
underlying process implementation (such as `CommandLineTool` or another
@@ -29219,6 +29223,7 @@ def save(
2921929223
"File": "https://w3id.org/cwl/cwl#File",
2922029224
"IOSchema": "https://w3id.org/cwl/cwl#IOSchema",
2922129225
"Identified": "https://w3id.org/cwl/cwl#Identified",
29226+
"IdentifierRequired": "https://w3id.org/cwl/cwl#IdentifierRequired",
2922229227
"InitialWorkDirRequirement": "https://w3id.org/cwl/cwl#InitialWorkDirRequirement",
2922329228
"InlineJavascriptRequirement": "https://w3id.org/cwl/cwl#InlineJavascriptRequirement",
2922429229
"InplaceUpdateRequirement": "https://w3id.org/cwl/cwl#InplaceUpdateRequirement",
@@ -29371,6 +29376,7 @@ def save(
2937129376
"https://w3id.org/cwl/cwl#File": "File",
2937229377
"https://w3id.org/cwl/cwl#IOSchema": "IOSchema",
2937329378
"https://w3id.org/cwl/cwl#Identified": "Identified",
29379+
"https://w3id.org/cwl/cwl#IdentifierRequired": "IdentifierRequired",
2937429380
"https://w3id.org/cwl/cwl#InitialWorkDirRequirement": "InitialWorkDirRequirement",
2937529381
"https://w3id.org/cwl/cwl#InlineJavascriptRequirement": "InlineJavascriptRequirement",
2937629382
"https://w3id.org/cwl/cwl#InplaceUpdateRequirement": "InplaceUpdateRequirement",

0 commit comments

Comments
 (0)