Skip to content

Commit b382e37

Browse files
committed
Squashed 'cwltool/schemas/' changes from 36b3da1..1550753
1550753 Merge pull request #302 from common-workflow-language/build-v1.1.0-dev1-pages 09d3412 build v1.1.0-dev1 webpages 1318a55 rename draft-4 to v1.0.0 in site/ f188887 Merge pull request #301 from common-workflow-language/fix-stdin-tests d71528d fix stdin shortcut tests 6fc30e1 Merge pull request #300 from common-workflow-language/stdin-shortcut REVERT: 36b3da1 put stdin type in correct place git-subtree-dir: cwltool/schemas git-subtree-split: 1550753
1 parent c4ebfb5 commit b382e37

21 files changed

+305
-92
lines changed

site/cwlsite-job.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

site/cwlsite-job.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env cwl-runner
2+
brand: CWL
3+
brandimg: {class: File, path: CWL-Logo-Header.png}
4+
cwl:tool: cwlsite.cwl
5+
render:
6+
- brandimg: '<img src=''CWL-Logo-Header.png'' style=''height: 61px; margin-top: -20px;
7+
margin-left: -20px''></img>'
8+
brandlink: index.html
9+
primtype: null
10+
redirect: []
11+
renderlist: []
12+
source: {class: File, path: ../README.md}
13+
target: index.html
14+
- {$import: cwlsite-draft3-job.json}
15+
- {$import: cwlsite-v1.0.0-job.json}
16+
- {$import: cwlsite-v1.1.0-dev1-job.yaml}
17+
schemas:
18+
- {$import: cwlsite-draft3-schemas.json}
19+
- {$import: cwlsite-v1.0.0-schemas.json}
20+
- {$import: cwlsite-v1.1.0-dev1-schemas.yaml}

site/cwlsite-draft4-job.json renamed to site/cwlsite-v1.0.0-job.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"source": {
1515
"class": "File",
1616
"path": "../v1.0/CommandLineTool-standalone.yml",
17-
"secondaryFiles": {"$import": "draft4-deps.json"}
17+
"secondaryFiles": {"$import": "v1.0.0-deps.json"}
1818
},
1919
"target": "v1.0/CommandLineTool.html",
2020
"renderlist": [
@@ -30,7 +30,7 @@
3030
"source": {
3131
"class": "File",
3232
"path": "../v1.0/CommonWorkflowLanguage.yml",
33-
"secondaryFiles": {"$import": "draft4-deps.json"}
33+
"secondaryFiles": {"$import": "v1.0.0-deps.json"}
3434
},
3535
"target": "v1.0/Workflow.html",
3636
"renderlist": [
@@ -50,7 +50,7 @@
5050
"primtype": "#CWLType"
5151
},
5252
{
53-
"source": {$import: draft4-metaschema.json},
53+
"source": {$import: v1.0.0-metaschema.json},
5454
"target": "v1.0/SchemaSalad.html",
5555
"renderlist": [
5656
"https://w3id.org/cwl/salad#Semantic_Annotations_for_Linked_Avro_Data",

site/cwlsite-draft4-schemas.json renamed to site/cwlsite-v1.0.0-schemas.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"schema_in": {
33
"class": "File",
44
"path": "../v1.0/CommonWorkflowLanguage.yml",
5-
"secondaryFiles": {"$import": "draft4-deps.json"}
5+
"secondaryFiles": {"$import": "v1.0.0-deps.json"}
66
},
77
"context_target": "v1.0/cwl-context.json",
88
"rdfs_target": "v1.0/cwl.ttl"
99
}, {
10-
"schema_in": {$import: draft4-metaschema.json},
10+
"schema_in": {$import: v1.0.0-metaschema.json},
1111
"context_target": "v1.0/salad-context.json",
1212
"rdfs_target": "v1.0/salad.ttl"
1313
}

site/cwlsite-v1.1.0-dev1-job.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
- brandimg: '<img src=''../CWL-Logo-Header.png'' style=''height: 61px; margin-top:
2+
-20px; margin-left: -20px''></img>'
3+
brandlink: ../index.html
4+
primtype: null
5+
redirect: []
6+
renderlist: []
7+
source: {class: File, path: ../v1.1.0-dev1/README.md}
8+
target: v1.1.0-dev1/index.html
9+
- brandimg: '<img src=''../CWL-Logo-Header.png'' style=''height: 61px; margin-top:
10+
-20px; margin-left: -20px''></img>'
11+
brandlink: index.html
12+
primtype: '#CWLType'
13+
redirect: []
14+
renderlist: ['https://w3id.org/cwl/cwl#CommandLineToolDoc', 'https://w3id.org/cwl/cwl#CommandLineTool']
15+
source:
16+
class: File
17+
path: ../v1.1.0-dev1/CommandLineTool-standalone.yml
18+
secondaryFiles: {$import: v1.1.0-dev1-deps.yaml}
19+
target: v1.1.0-dev1/CommandLineTool.html
20+
- brandimg: '<img src=''../CWL-Logo-Header.png'' style=''height: 61px; margin-top:
21+
-20px; margin-left: -20px''></img>'
22+
brandlink: index.html
23+
primtype: '#CWLType'
24+
redirect: ['https://w3id.org/cwl/cwl#CommandLineTool=CommandLineTool.html#CommandLineTool',
25+
'https://w3id.org/cwl/cwl#DockerRequirement=CommandLineTool.html#DockerRequirement',
26+
'https://w3id.org/cwl/cwl#CreateFileRequirement=CommandLineTool.html#CreateFileRequirement',
27+
'https://w3id.org/cwl/cwl#EnvVarRequirement=CommandLineTool.html#EnvVarRequirement',
28+
'https://w3id.org/cwl/cwl#ShellCommandRequirement=CommandLineTool.html#ShellCommandRequirement',
29+
'https://w3id.org/cwl/cwl#ResourceRequirement=CommandLineTool.html#ResourceRequirement']
30+
renderlist: ['https://w3id.org/cwl/cwl#WorkflowDoc', 'https://w3id.org/cwl/cwl#Workflow']
31+
source:
32+
class: File
33+
path: ../v1.1.0-dev1/CommonWorkflowLanguage.yml
34+
secondaryFiles: {$import: v1.1.0-dev1-deps.yaml}
35+
target: v1.1.0-dev1/Workflow.html
36+
- brandimg: '<img src=''../CWL-Logo-Header.png'' style=''height: 61px; margin-top:
37+
-20px; margin-left: -20px''></img>'
38+
brandlink: index.html
39+
primtype: null
40+
redirect: []
41+
renderlist: ['https://w3id.org/cwl/salad#Semantic_Annotations_for_Linked_Avro_Data',
42+
'https://w3id.org/cwl/salad#SaladRecordSchema', 'https://w3id.org/cwl/salad#SaladEnumSchema',
43+
'https://w3id.org/cwl/salad#Documentation']
44+
source: {$import: v1.1.0-dev1-metaschema.yaml}
45+
target: v1.1.0-dev1/SchemaSalad.html
46+
- brandimg: '<img src=''../CWL-Logo-Header.png'' style=''height: 61px; margin-top:
47+
-20px; margin-left: -20px''></img>'
48+
brandlink: index.html
49+
primtype: null
50+
redirect: []
51+
renderlist: []
52+
source: {$import: userguide-v1.1.0-dev1-input.yaml}
53+
target: v1.1.0-dev1/UserGuide.html

site/cwlsite-v1.1.0-dev1-schemas.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- context_target: v1.1.0-dev1/cwl-context.json
2+
rdfs_target: v1.1.0-dev1/cwl.ttl
3+
schema_in:
4+
class: File
5+
path: ../v1.1.0-dev1/CommonWorkflowLanguage.yml
6+
secondaryFiles: {$import: v1.1.0-dev1-deps.yaml}
7+
- context_target: v1.1.0-dev1/salad-context.json
8+
rdfs_target: v1.1.0-dev1/salad.ttl
9+
schema_in: {$import: v1.1.0-dev1-metaschema.yaml}

site/userguide-v1.1.0-dev1-input.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
class: File
2+
location: ../v1.1.0-dev1/UserGuide.yml
3+
secondaryFiles:
4+
- {basename: userguide-intro.md, class: File, location: ../v1.1.0-dev1/userguide-intro.md}
5+
- basename: examples
6+
class: Directory
7+
listing:
8+
- {basename: record-job1.yml, class: File, location: ../v1.1.0-dev1/examples/record-job1.yml}
9+
- {basename: expression.cwl, class: File, location: ../v1.1.0-dev1/examples/expression.cwl}
10+
- {basename: array-outputs-job.yml, class: File, location: ../v1.1.0-dev1/examples/array-outputs-job.yml}
11+
- {basename: tar-param.cwl, class: File, location: ../v1.1.0-dev1/examples/tar-param.cwl}
12+
- {basename: inp-job.yml, class: File, location: ../v1.1.0-dev1/examples/inp-job.yml}
13+
- {basename: 1st-workflow-job.yml, class: File, location: ../v1.1.0-dev1/examples/1st-workflow-job.yml}
14+
- {basename: record-job2.yml, class: File, location: ../v1.1.0-dev1/examples/record-job2.yml}
15+
- {basename: record-job3.yml, class: File, location: ../v1.1.0-dev1/examples/record-job3.yml}
16+
- {basename: echo-job.yml, class: File, location: ../v1.1.0-dev1/examples/echo-job.yml}
17+
- {basename: array-outputs.cwl, class: File, location: ../v1.1.0-dev1/examples/array-outputs.cwl}
18+
- {basename: array-inputs-job.yml, class: File, location: ../v1.1.0-dev1/examples/array-inputs-job.yml}
19+
- {basename: 1st-workflow.cwl, class: File, location: ../v1.1.0-dev1/examples/1st-workflow.cwl}
20+
- {basename: docker.cwl, class: File, location: ../v1.1.0-dev1/examples/docker.cwl}
21+
- {basename: stdout.cwl, class: File, location: ../v1.1.0-dev1/examples/stdout.cwl}
22+
- {basename: docker-job.yml, class: File, location: ../v1.1.0-dev1/examples/docker-job.yml}
23+
- {basename: tar.cwl, class: File, location: ../v1.1.0-dev1/examples/tar.cwl}
24+
- {basename: createfile.cwl, class: File, location: ../v1.1.0-dev1/examples/createfile.cwl}
25+
- {basename: 1st-tool.cwl, class: File, location: ../v1.1.0-dev1/examples/1st-tool.cwl}
26+
- {basename: env.cwl, class: File, location: ../v1.1.0-dev1/examples/env.cwl}
27+
- {basename: arguments-job.yml, class: File, location: ../v1.1.0-dev1/examples/arguments-job.yml}
28+
- {basename: tar-param-job.yml, class: File, location: ../v1.1.0-dev1/examples/tar-param-job.yml}
29+
- {basename: array-inputs.cwl, class: File, location: ../v1.1.0-dev1/examples/array-inputs.cwl}
30+
- {basename: inp.cwl, class: File, location: ../v1.1.0-dev1/examples/inp.cwl}
31+
- {basename: arguments.cwl, class: File, location: ../v1.1.0-dev1/examples/arguments.cwl}
32+
- {basename: linkfile.cwl, class: File, location: ../v1.1.0-dev1/examples/linkfile.cwl}
33+
- {basename: record.cwl, class: File, location: ../v1.1.0-dev1/examples/record.cwl}
34+
- {basename: tar-job.yml, class: File, location: ../v1.1.0-dev1/examples/tar-job.yml}
35+
location: _:4f9d886b-443f-49bd-8e0e-f3517a8a5c34
File renamed without changes.
File renamed without changes.

site/v1.1.0-dev1-deps.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
- basename: Process.yml
2+
class: File
3+
location: ../v1.1.0-dev1/Process.yml
4+
secondaryFiles:
5+
- {basename: concepts.md, class: File, location: ../v1.1.0-dev1/concepts.md}
6+
- basename: salad
7+
class: Directory
8+
listing:
9+
- basename: schema_salad
10+
class: Directory
11+
listing:
12+
- basename: metaschema
13+
class: Directory
14+
listing:
15+
- {basename: metaschema_base.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/metaschema_base.yml}
16+
location: _:8d932277-54ee-49f7-b7b3-007108151ed4
17+
location: _:31c5c0f1-dfcb-4a68-a5e1-063d03e85d3a
18+
location: _:4a097285-861e-42ac-9322-20244d69dc96
19+
- basename: CommandLineTool.yml
20+
class: File
21+
location: ../v1.1.0-dev1/CommandLineTool.yml
22+
secondaryFiles:
23+
- {basename: contrib.md, class: File, location: ../v1.1.0-dev1/contrib.md}
24+
- {basename: concepts.md, class: File, location: ../v1.1.0-dev1/concepts.md}
25+
- {basename: invocation.md, class: File, location: ../v1.1.0-dev1/invocation.md}
26+
- {basename: intro.md, class: File, location: ../v1.1.0-dev1/intro.md}
27+
- basename: Workflow.yml
28+
class: File
29+
location: ../v1.1.0-dev1/Workflow.yml
30+
secondaryFiles:
31+
- {basename: contrib.md, class: File, location: ../v1.1.0-dev1/contrib.md}
32+
- {basename: concepts.md, class: File, location: ../v1.1.0-dev1/concepts.md}
33+
- {basename: intro.md, class: File, location: ../v1.1.0-dev1/intro.md}

site/v1.1.0-dev1-metaschema.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
class: File
2+
location: ../v1.1.0-dev1/salad/schema_salad/metaschema/metaschema.yml
3+
secondaryFiles:
4+
- basename: link_res.yml
5+
class: File
6+
location: ../v1.1.0-dev1/salad/schema_salad/metaschema/link_res.yml
7+
secondaryFiles:
8+
- {basename: link_res_schema.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/link_res_schema.yml}
9+
- {basename: link_res_src.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/link_res_src.yml}
10+
- {basename: link_res_proc.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/link_res_proc.yml}
11+
- {basename: salad.md, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/salad.md}
12+
- {basename: metaschema_base.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/metaschema_base.yml}
13+
- {basename: import_include.md, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/import_include.md}
14+
- basename: field_name.yml
15+
class: File
16+
location: ../v1.1.0-dev1/salad/schema_salad/metaschema/field_name.yml
17+
secondaryFiles:
18+
- {basename: field_name_src.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/field_name_src.yml}
19+
- {basename: field_name_schema.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/field_name_schema.yml}
20+
- {basename: field_name_proc.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/field_name_proc.yml}
21+
- basename: ident_res.yml
22+
class: File
23+
location: ../v1.1.0-dev1/salad/schema_salad/metaschema/ident_res.yml
24+
secondaryFiles:
25+
- {basename: ident_res_proc.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/ident_res_proc.yml}
26+
- {basename: ident_res_schema.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/ident_res_schema.yml}
27+
- {basename: ident_res_src.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/ident_res_src.yml}
28+
- basename: vocab_res.yml
29+
class: File
30+
location: ../v1.1.0-dev1/salad/schema_salad/metaschema/vocab_res.yml
31+
secondaryFiles:
32+
- {basename: vocab_res_schema.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/vocab_res_schema.yml}
33+
- {basename: vocab_res_proc.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/vocab_res_proc.yml}
34+
- {basename: vocab_res_src.yml, class: File, location: ../v1.1.0-dev1/salad/schema_salad/metaschema/vocab_res_src.yml}

v1.1.0-dev1/CommandLineTool.yml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -367,32 +367,14 @@ $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
370376
- specializeFrom: InputBinding
371377
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.
396378

397379
- type: record
398380
name: CommandOutputParameter
@@ -406,6 +388,7 @@ $graph:
406388
type:
407389
- "null"
408390
- CWLType
391+
- stdin
409392
- stdout
410393
- stderr
411394
- CommandOutputRecordSchema
@@ -430,7 +413,7 @@ $graph:
430413
- name: stdin
431414
type: enum
432415
symbols: [ "cwl:stdin" ]
433-
docParent: "#CommandInputParameter"
416+
docParent: "#CommandOutputParameter"
434417
doc: |
435418
Only valid as a `type` for a `CommandLineTool` input with no
436419
`inputBinding` set. `stdin` must not be specified at the `CommandLineTool`

v1.1.0-dev1/Process.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,28 @@ $graph:
568568
The default value for this parameter if not provided in the input
569569
object.
570570
571+
- name: type
572+
type:
573+
- "null"
574+
- CWLType
575+
- InputRecordSchema
576+
- InputEnumSchema
577+
- InputArraySchema
578+
- string
579+
- type: array
580+
items:
581+
- CWLType
582+
- InputRecordSchema
583+
- InputEnumSchema
584+
- InputArraySchema
585+
- string
586+
jsonldPredicate:
587+
"_id": "sld:type"
588+
"_type": "@vocab"
589+
refScope: 2
590+
typeDSL: True
591+
doc: |
592+
Specify valid types of data that may be assigned to this parameter.
571593
572594
- name: OutputParameter
573595
type: record

v1.1.0-dev1/Workflow.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -107,39 +107,10 @@ $graph:
107107
doc: |
108108
Specify valid types of data that may be assigned to this parameter.
109109
110-
- name: RegularInputParameter
111-
type: record
112-
extends: InputParameter
113-
fields:
114-
- name: type
115-
type:
116-
- "null"
117-
- CWLType
118-
- InputRecordSchema
119-
- InputEnumSchema
120-
- InputArraySchema
121-
- string
122-
- type: array
123-
items:
124-
- CWLType
125-
- InputRecordSchema
126-
- InputEnumSchema
127-
- InputArraySchema
128-
- string
129-
jsonldPredicate:
130-
"_id": "sld:type"
131-
"_type": "@vocab"
132-
refScope: 2
133-
typeDSL: True
134-
doc: |
135-
Specify valid types of data that may be assigned to this parameter.
136-
137110
- type: record
138111
name: ExpressionTool
139112
extends: Process
140113
specialize:
141-
- specializeFrom: "#InputParameter"
142-
specializeTo: "#RegularInputParameter"
143114
- specializeFrom: "#OutputParameter"
144115
specializeTo: "#ExpressionToolOutputParameter"
145116
documentRoot: true
@@ -491,8 +462,6 @@ $graph:
491462
extends: "#Process"
492463
documentRoot: true
493464
specialize:
494-
- specializeFrom: "#InputParameter"
495-
specializeTo: "#RegularInputParameter"
496465
- specializeFrom: "#OutputParameter"
497466
specializeTo: "#WorkflowOutputParameter"
498467
doc: |

0 commit comments

Comments
 (0)