Skip to content

Commit 0035ef0

Browse files
author
Peter Amstutz
committed
Squashed 'cwltool/schemas/' changes from b3d54b7..2ec0b1b
2ec0b1b Update tests. Add 'doc' field to Parameter because it doesn't inherit from salad Record. git-subtree-dir: cwltool/schemas git-subtree-split: 2ec0b1b
1 parent ec6713e commit 0035ef0

21 files changed

+35
-28
lines changed

v1.0/Process.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,13 @@ $graph:
379379
indicate whether it is valid to stream file contents using a named
380380
pipe. Default: `false`.
381381
382+
- name: doc
383+
type:
384+
- string?
385+
- string[]?
386+
doc: "A documentation string for this type, or an array of strings which should be concatenated."
387+
jsonldPredicate: "rdfs:comment"
388+
382389

383390
- type: enum
384391
name: Expression

v1.0/v1.0/cat1-testcli.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"class": "CommandLineTool",
44
"cwlVersion": "v1.0.dev4",
5-
"description": "Print the contents of a file to stdout using 'cat' running in a docker container.",
5+
"doc": "Print the contents of a file to stdout using 'cat' running in a docker container.",
66
"inputs": [
77
{
88
"id": "file1",

v1.0/v1.0/cat1-tool.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env cwl-runner
22
cwlVersion: v1.0.dev4
33
class: CommandLineTool
4-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy

v1.0/v1.0/cat2-tool.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: v1.0.dev4
4-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy

v1.0/v1.0/cat3-tool-mediumcut.cwl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: v1.0.dev4
4-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy
88
inputs:
99
file1:
1010
type: File
1111
label: Input File
12-
description: "The file that will be copied using 'cat'"
12+
doc: "The file that will be copied using 'cat'"
1313
inputBinding: {position: 1}
1414
outputs:
1515
output_file:

v1.0/v1.0/cat3-tool-shortcut.cwl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: v1.0.dev4
4-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy
88
inputs:
99
file1:
1010
type: File
1111
label: Input File
12-
description: "The file that will be copied using 'cat'"
12+
doc: "The file that will be copied using 'cat'"
1313
inputBinding: {position: 1}
1414
outputs:
1515
output_file:

v1.0/v1.0/cat3-tool.cwl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: v1.0.dev4
4-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy
88
inputs:
99
file1:
1010
type: File
1111
label: Input File
12-
description: "The file that will be copied using 'cat'"
12+
doc: "The file that will be copied using 'cat'"
1313
inputBinding: {position: 1}
1414
outputs:
1515
output_file:

v1.0/v1.0/cat4-tool.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: v1.0.dev4
4-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy

v1.0/v1.0/cat5-tool.cwl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env cwl-runner
22
cwlVersion: v1.0.dev4
33
class: CommandLineTool
4-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: "debian:wheezy"
@@ -11,7 +11,7 @@ inputs:
1111
file1:
1212
type: File
1313
label: "Input File"
14-
description: "The file that will be copied using 'cat'"
14+
doc: "The file that will be copied using 'cat'"
1515
inputBinding: {position: 1}
1616
outputs:
1717
output_file:

v1.0/v1.0/egrep-stderr-mediumcut.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: v1.0.dev4
4-
description: "Test of capturing stderr output in a docker container."
4+
doc: "Test of capturing stderr output in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy

v1.0/v1.0/egrep-stderr-shortcut.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: v1.0.dev4
4-
description: "Test of capturing stderr output in a docker container."
4+
doc: "Test of capturing stderr output in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy

v1.0/v1.0/egrep-stderr.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: v1.0.dev4
4-
description: "Test of capturing stderr output in a docker container."
4+
doc: "Test of capturing stderr output in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy

v1.0/v1.0/formattest.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $namespaces:
22
edam: "http://edamontology.org/"
33
cwlVersion: v1.0.dev4
44
class: CommandLineTool
5-
description: "Reverse each line using the `rev` command"
5+
doc: "Reverse each line using the `rev` command"
66
inputs:
77
input:
88
type: File

v1.0/v1.0/formattest2.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $schemas:
44
- EDAM.owl
55
class: CommandLineTool
66
cwlVersion: v1.0.dev4
7-
description: "Reverse each line using the `rev` command"
7+
doc: "Reverse each line using the `rev` command"
88

99
inputs:
1010
input:

v1.0/v1.0/formattest3.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $schemas:
66
- gx_edam.ttl
77
class: CommandLineTool
88
cwlVersion: v1.0.dev4
9-
description: "Reverse each line using the `rev` command"
9+
doc: "Reverse each line using the `rev` command"
1010

1111
inputs:
1212
input:

v1.0/v1.0/metadata.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $schemas:
88

99
cwlVersion: v1.0.dev4
1010
class: CommandLineTool
11-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
11+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
1212

1313
dct:creator:
1414
id: "http://orcid.org/0000-0003-3566-7705"

v1.0/v1.0/optional-output.cwl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#!/usr/bin/env cwl-runner
22
class: CommandLineTool
33
cwlVersion: "v1.0.dev4"
4-
description: "Print the contents of a file to stdout using 'cat' running in a docker container."
4+
doc: "Print the contents of a file to stdout using 'cat' running in a docker container."
55
hints:
66
DockerRequirement:
77
dockerPull: debian:wheezy
88
inputs:
99
file1:
1010
type: File
1111
label: Input File
12-
description: "The file that will be copied using 'cat'"
12+
doc: "The file that will be copied using 'cat'"
1313
inputBinding: {position: 1}
1414
outputs:
1515
output_file:

v1.0/v1.0/revsort.cwl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This is a two-step workflow which uses "revtool" and "sorttool" defined above.
33
#
44
class: Workflow
5-
description: "Reverse the lines in a document, then sort those lines."
5+
doc: "Reverse the lines in a document, then sort those lines."
66
cwlVersion: v1.0.dev4
77

88
# Requirements & hints specify prerequisites and extensions to the workflow.
@@ -22,11 +22,11 @@ hints:
2222
inputs:
2323
input:
2424
type: File
25-
description: "The input file to be processed."
25+
doc: "The input file to be processed."
2626
reverse_sort:
2727
type: boolean
2828
default: true
29-
description: "If true, reverse (decending) sort"
29+
doc: "If true, reverse (decending) sort"
3030

3131
# The "outputs" array defines the structure of the output object that describes
3232
# the outputs of the workflow.
@@ -38,7 +38,7 @@ outputs:
3838
output:
3939
type: File
4040
outputSource: sorted/output
41-
description: "The output with the lines reversed and sorted."
41+
doc: "The output with the lines reversed and sorted."
4242

4343
# The "steps" array lists the executable steps that make up the workflow.
4444
# The tool to execute each step is listed in the "run" field.

v1.0/v1.0/revtool.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
class: CommandLineTool
55
cwlVersion: v1.0.dev4
6-
description: "Reverse each line using the `rev` command"
6+
doc: "Reverse each line using the `rev` command"
77

88
# The "inputs" array defines the structure of the input object that describes
99
# the inputs to the underlying program. Here, there is one input field

v1.0/v1.0/shelltest.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class: CommandLineTool
22
cwlVersion: v1.0.dev4
3-
description: "Reverse each line using the `rev` command then sort."
3+
doc: "Reverse each line using the `rev` command then sort."
44
requirements:
55
- class: ShellCommandRequirement
66
inputs:

v1.0/v1.0/sorttool.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Example command line program wrapper for the Unix tool "sort"
22
# demonstrating command line flags.
33
class: CommandLineTool
4-
description: "Sort lines using the `sort` command"
4+
doc: "Sort lines using the `sort` command"
55
cwlVersion: v1.0.dev4
66

77
# This example is similar to the previous one, with an additional input

0 commit comments

Comments
 (0)