Skip to content

Commit 5324dbb

Browse files
committed
put stdin shortcut in correct place
1 parent 1550753 commit 5324dbb

File tree

3 files changed

+57
-30
lines changed

3 files changed

+57
-30
lines changed

v1.1.0-dev1/CommandLineTool.yml

+24-6
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,32 @@ $graph:
367367
extends: InputParameter
368368
doc: An input parameter for a CommandLineTool.
369369
specialize:
370-
- specializeFrom: InputRecordSchema
371-
specializeTo: CommandInputRecordSchema
372-
- specializeFrom: InputEnumSchema
373-
specializeTo: CommandInputEnumSchema
374-
- specializeFrom: InputArraySchema
375-
specializeTo: CommandInputArraySchema
376370
- specializeFrom: InputBinding
377371
specializeTo: CommandLineBinding
372+
fields:
373+
- name: type
374+
type:
375+
- "null"
376+
- CWLType
377+
- stdin
378+
- CommandInputRecordSchema
379+
- CommandInputEnumSchema
380+
- CommandInputArraySchema
381+
- string
382+
- type: array
383+
items:
384+
- CWLType
385+
- CommandInputRecordSchema
386+
- CommandInputEnumSchema
387+
- CommandInputArraySchema
388+
- string
389+
jsonldPredicate:
390+
"_id": "sld:type"
391+
"_type": "@vocab"
392+
refScope: 2
393+
typeDSL: True
394+
doc: |
395+
Specify valid types of data that may be assigned to this parameter.
378396
379397
- type: record
380398
name: CommandOutputParameter

v1.1.0-dev1/Process.yml

+5
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,10 @@ $graph:
568568
The default value for this parameter if not provided in the input
569569
object.
570570
571+
- name: RegularInputParameter
572+
type: record
573+
extends: InputParameter
574+
fields:
571575
- name: type
572576
type:
573577
- "null"
@@ -591,6 +595,7 @@ $graph:
591595
doc: |
592596
Specify valid types of data that may be assigned to this parameter.
593597
598+
594599
- name: OutputParameter
595600
type: record
596601
extends: Parameter

v1.1.0-dev1/Workflow.yml

+28-24
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ $graph:
8787
- name: type
8888
type:
8989
- "null"
90-
- "#CWLType"
91-
- "#OutputRecordSchema"
92-
- "#OutputEnumSchema"
93-
- "#OutputArraySchema"
90+
- CWLType
91+
- OutputRecordSchema
92+
- OutputEnumSchema
93+
- OutputArraySchema
9494
- string
9595
- type: array
9696
items:
97-
- "#CWLType"
98-
- "#OutputRecordSchema"
99-
- "#OutputEnumSchema"
100-
- "#OutputArraySchema"
97+
- CWLType
98+
- OutputRecordSchema
99+
- OutputEnumSchema
100+
- OutputArraySchema
101101
- string
102102
jsonldPredicate:
103103
"_id": "sld:type"
@@ -111,13 +111,15 @@ $graph:
111111
name: ExpressionTool
112112
extends: Process
113113
specialize:
114-
- specializeFrom: "#OutputParameter"
115-
specializeTo: "#ExpressionToolOutputParameter"
114+
- specializeFrom: InputParameter
115+
specializeTo: RegularInputParameter
116+
- specializeFrom: OutputParameter
117+
specializeTo: ExpressionToolOutputParameter
116118
documentRoot: true
117119
doc: |
118120
Execute an expression as a Workflow step.
119121
fields:
120-
- name: "class"
122+
- name: class
121123
jsonldPredicate:
122124
"_id": "@type"
123125
"_type": "@vocab"
@@ -158,25 +160,25 @@ $graph:
158160
- string?
159161
- string[]?
160162
- name: linkMerge
161-
type: ["null", "#LinkMergeMethod"]
163+
type: ["null", LinkMergeMethod]
162164
jsonldPredicate: "cwl:linkMerge"
163165
doc: |
164166
The method to use to merge multiple sources into a single array.
165167
If not specified, the default method is "merge_nested".
166168
- name: type
167169
type:
168170
- "null"
169-
- "#CWLType"
170-
- "#OutputRecordSchema"
171-
- "#OutputEnumSchema"
172-
- "#OutputArraySchema"
171+
- CWLType
172+
- OutputRecordSchema
173+
- OutputEnumSchema
174+
- OutputArraySchema
173175
- string
174176
- type: array
175177
items:
176-
- "#CWLType"
177-
- "#OutputRecordSchema"
178-
- "#OutputEnumSchema"
179-
- "#OutputArraySchema"
178+
- CWLType
179+
- OutputRecordSchema
180+
- OutputEnumSchema
181+
- OutputArraySchema
180182
- string
181183
jsonldPredicate:
182184
"_id": "sld:type"
@@ -268,8 +270,8 @@ $graph:
268270
- name: valueFrom
269271
type:
270272
- "null"
271-
- "string"
272-
- "#Expression"
273+
- string
274+
- Expression
273275
jsonldPredicate: "cwl:valueFrom"
274276
doc: |
275277
To use valueFrom, [StepInputExpressionRequirement](#StepInputExpressionRequirement) must
@@ -462,8 +464,10 @@ $graph:
462464
extends: "#Process"
463465
documentRoot: true
464466
specialize:
465-
- specializeFrom: "#OutputParameter"
466-
specializeTo: "#WorkflowOutputParameter"
467+
- specializeFrom: InputParameter
468+
specializeTo: RegularInputParameter
469+
- specializeFrom: OutputParameter
470+
specializeTo: WorkflowOutputParameter
467471
doc: |
468472
A workflow describes a set of **steps** and the **dependencies** between
469473
those steps. When a step produces output that will be consumed by a

0 commit comments

Comments
 (0)