Skip to content

Commit c30b79f

Browse files
committed
finish restoring allowable types for parameters
1 parent 06c9ba7 commit c30b79f

File tree

3 files changed

+51
-41
lines changed

3 files changed

+51
-41
lines changed

draft-4/CommandLineTool.yml

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -359,27 +359,38 @@ $graph:
359359
extends: "#InputParameter"
360360
doc: An input parameter for a CommandLineTool.
361361
specialize:
362-
- specializeFrom: "#InputRecordSchema"
363-
specializeTo: "#CommandInputRecordSchema"
364-
- specializeFrom: "#InputEnumSchema"
365-
specializeTo: "#CommandInputEnumSchema"
366-
- specializeFrom: "#InputArraySchema"
367-
specializeTo: "#CommandInputArraySchema"
368362
- specializeFrom: "#InputBinding"
369363
specializeTo: "#CommandLineBinding"
364+
fields:
365+
- name: type
366+
type:
367+
- "null"
368+
- "#CWLType"
369+
- "#CommandInputRecordSchema"
370+
- "#CommandInputEnumSchema"
371+
- "#CommandInputArraySchema"
372+
- string
373+
- type: array
374+
items:
375+
- "#CWLType"
376+
- "#CommandInputRecordSchema"
377+
- "#CommandInputEnumSchema"
378+
- "#CommandInputArraySchema"
379+
- string
380+
jsonldPredicate:
381+
"_id": "sld:type"
382+
"_type": "@vocab"
383+
refScope: 2
384+
typeDSL: True
385+
doc: |
386+
Specify valid types of data that may be assigned to this parameter.
370387
371388
372389
- type: record
373390
name: CommandOutputParameter
374391
extends: "#OutputParameter"
375392
doc: An output parameter for a CommandLineTool.
376393
specialize:
377-
- specializeFrom: "#OutputRecordSchema"
378-
specializeTo: "#CommandOutputRecordSchema"
379-
- specializeFrom: "#OutputEnumSchema"
380-
specializeTo: "#CommandOutputEnumSchema"
381-
- specializeFrom: "#OutputArraySchema"
382-
specializeTo: "#CommandOutputArraySchema"
383394
- specializeFrom: "#OutputBinding"
384395
specializeTo: "#CommandOutputBinding"
385396
fields:
@@ -389,16 +400,16 @@ $graph:
389400
- "#CWLType"
390401
- "#stdout"
391402
- "#stderr"
392-
- "sld:RecordSchema"
393-
- "sld:EnumSchema"
394-
- "sld:ArraySchema"
403+
- "#CommandOutputRecordSchema"
404+
- "#CommandOutputEnumSchema"
405+
- "#CommandOutputArraySchema"
395406
- string
396407
- type: array
397408
items:
398409
- "#CWLType"
399-
- "sld:RecordSchema"
400-
- "sld:EnumSchema"
401-
- "sld:ArraySchema"
410+
- "#CommandOutputRecordSchema"
411+
- "#CommandOutputEnumSchema"
412+
- "#CommandOutputArraySchema"
402413
- string
403414
jsonldPredicate:
404415
"_id": "sld:type"

draft-4/Process.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -378,29 +378,6 @@ $graph:
378378
- specializeFrom: "sld:ArraySchema"
379379
specializeTo: "#InputArraySchema"
380380
fields:
381-
- name: type
382-
type:
383-
- "null"
384-
- "#CWLType"
385-
- "sld:RecordSchema"
386-
- "sld:EnumSchema"
387-
- "sld:ArraySchema"
388-
- string
389-
- type: array
390-
items:
391-
- "#CWLType"
392-
- "sld:RecordSchema"
393-
- "sld:EnumSchema"
394-
- "sld:ArraySchema"
395-
- string
396-
jsonldPredicate:
397-
"_id": "sld:type"
398-
"_type": "@vocab"
399-
refScope: 2
400-
typeDSL: True
401-
doc: |
402-
Specify valid types of data that may be assigned to this parameter.
403-
404381
- name: id
405382
type: string
406383
jsonldPredicate: "@id"

draft-4/Workflow.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,28 @@ $graph:
104104
doc: |
105105
The method to use to merge multiple sources into a single array.
106106
If not specified, the default method is "merge_nested".
107+
- name: type
108+
type:
109+
- "null"
110+
- "#CWLType"
111+
- "#OutputRecordSchema"
112+
- "#OutputEnumSchema"
113+
- "#OutputArraySchema"
114+
- string
115+
- type: array
116+
items:
117+
- "#CWLType"
118+
- "#OutputRecordSchema"
119+
- "#OutputEnumSchema"
120+
- "#OutputArraySchema"
121+
- string
122+
jsonldPredicate:
123+
"_id": "sld:type"
124+
"_type": "@vocab"
125+
refScope: 2
126+
typeDSL: True
127+
doc: |
128+
Specify valid types of data that may be assigned to this parameter.
107129
108130
109131
- name: Sink

0 commit comments

Comments
 (0)