Skip to content

Commit 928f897

Browse files
authored
Merge pull request #103 from common-workflow-language/update-with-draft4-fixes
Update with draft4 fixes
2 parents a7fb17f + 0c32bf7 commit 928f897

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

cwltool/schemas/draft-4/Process.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ $graph:
277277
specializeTo: "#InputEnumSchema"
278278
- specializeFrom: "sld:ArraySchema"
279279
specializeTo: "#InputArraySchema"
280+
- specializeFrom: "sld:PrimitiveType"
281+
specializeTo: "#CWLType"
280282
fields:
281283
- name: inputBinding
282284
type: [ "null", "#InputBinding" ]
@@ -310,6 +312,8 @@ $graph:
310312
specializeTo: "#InputEnumSchema"
311313
- specializeFrom: "sld:ArraySchema"
312314
specializeTo: "#InputArraySchema"
315+
- specializeFrom: "sld:PrimitiveType"
316+
specializeTo: "#CWLType"
313317
fields:
314318
- name: inputBinding
315319
type: [ "null", "#InputBinding" ]
@@ -326,6 +330,8 @@ $graph:
326330
specializeTo: "#OutputEnumSchema"
327331
- specializeFrom: "sld:ArraySchema"
328332
specializeTo: "#OutputArraySchema"
333+
- specializeFrom: "sld:PrimitiveType"
334+
specializeTo: "#CWLType"
329335
fields:
330336
- name: outputBinding
331337
type: [ "null", "#OutputBinding" ]
@@ -361,6 +367,8 @@ $graph:
361367
specializeTo: "#OutputEnumSchema"
362368
- specializeFrom: "sld:ArraySchema"
363369
specializeTo: "#OutputArraySchema"
370+
- specializeFrom: "sld:PrimitiveType"
371+
specializeTo: "#CWLType"
364372
fields:
365373
- name: outputBinding
366374
type: [ "null", "#OutputBinding" ]
@@ -416,13 +424,6 @@ $graph:
416424
- name: OutputParameter
417425
type: record
418426
extends: "#Parameter"
419-
specialize:
420-
- specializeFrom: "sld:RecordSchema"
421-
specializeTo: "#OutputRecordSchema"
422-
- specializeFrom: "sld:EnumSchema"
423-
specializeTo: "#OutputEnumSchema"
424-
- specializeFrom: "sld:ArraySchema"
425-
specializeTo: "#OutputArraySchema"
426427
fields:
427428
- name: id
428429
type: string

cwltool/schemas/draft-4/Workflow.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@ $graph:
5252

5353
- name: ExpressionToolOutputParameter
5454
type: record
55-
extends: Parameter
55+
extends: OutputParameter
5656
fields:
5757
- name: type
5858
type:
5959
- "null"
6060
- "#CWLType"
61-
- "sld:RecordSchema"
62-
- "sld:EnumSchema"
63-
- "sld:ArraySchema"
61+
- "#OutputRecordSchema"
62+
- "#OutputEnumSchema"
63+
- "#OutputArraySchema"
6464
- string
6565
- type: array
6666
items:
6767
- "#CWLType"
68-
- "sld:RecordSchema"
69-
- "sld:EnumSchema"
70-
- "sld:ArraySchema"
68+
- "#OutputRecordSchema"
69+
- "#OutputEnumSchema"
70+
- "#OutputArraySchema"
7171
- string
7272
jsonldPredicate:
7373
"_id": "sld:type"

0 commit comments

Comments
 (0)