File tree Expand file tree Collapse file tree 9 files changed +54
-9
lines changed Expand file tree Collapse file tree 9 files changed +54
-9
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env cwl-runner
2
- cwlVersion: cwl:v1.0.dev4
2
+ cwlVersion: cwl:v1.0
3
3
4
4
class: Workflow
5
5
inputs :
Original file line number Diff line number Diff line change 1
1
class: CommandLineTool
2
- cwlVersion: v1.0.dev4
2
+ cwlVersion: v1.0
3
3
hints :
4
4
DockerRequirement:
5
5
dockerFile : |
Original file line number Diff line number Diff line change 1
- cwlVersion: v1.0.dev4
1
+ cwlVersion: v1.0
2
2
class: CommandLineTool
3
3
inputs :
4
4
schema:
Original file line number Diff line number Diff line change 1
- cwlVersion: v1.0.dev4
1
+ cwlVersion: v1.0
2
2
class: CommandLineTool
3
3
requirements :
4
4
- class: InlineJavascriptRequirement
Original file line number Diff line number Diff line change 1
- cwlVersion: v1.0.dev4
1
+ cwlVersion: v1.0
2
2
class: CommandLineTool
3
3
inputs :
4
4
schema:
Original file line number Diff line number Diff line change 1
- cwlVersion: v1.0.dev4
1
+ cwlVersion: v1.0
2
2
class: Workflow
3
3
4
4
inputs :
Original file line number Diff line number Diff line change 1
1
class: ExpressionTool
2
- cwlVersion: v1.0.dev4
2
+ cwlVersion: v1.0
3
3
inputs :
4
4
primary: File
5
5
secondary: File []
Original file line number Diff line number Diff line change @@ -39,10 +39,32 @@ $graph:
39
39
## Introduction to v1.0
40
40
41
41
This specification represents the first full release from the CWL group.
42
- Since draft-3, this draft introduces the following changes and additions:
42
+ Since draft-3, version 1.0 introduces the following changes and additions:
43
43
44
44
* The [Directory](#Directory) type.
45
- * "id: name" is now "name"; "class: Classname" is now "Classname".
45
+ * Syntax simplifcations: denoted by the `map<>` syntax. Example: inputs
46
+ contains a list of items, each with an id. Now one can specify
47
+ a mapping of that identifier to the corresponding
48
+ `CommandInputParamater`.
49
+ ```
50
+ inputs:
51
+ - id: one
52
+ type: string
53
+ doc: First input parameter
54
+ - id: two
55
+ type: int
56
+ doc: Second input parameter
57
+ ```
58
+ can be
59
+ ```
60
+ inputs:
61
+ one:
62
+ type: string
63
+ doc: First input parameter
64
+ two:
65
+ type: int
66
+ doc: Second input parameter
67
+ ```
46
68
* [InitialWorkDirRequirement](#InitialWorkDirRequirement): list of
47
69
files and subdirectories to be present in the output directory prior
48
70
to execution.
Original file line number Diff line number Diff line change @@ -39,6 +39,29 @@ $graph:
39
39
Since draft-3, this draft introduces the following changes and additions:
40
40
41
41
* The 'inputs' and 'outputs' fields have been renamed 'in' and 'out'.
42
+ * Syntax simplifcations: denoted by the `map<>` syntax. Example: `in`
43
+ contains a list of items, each with an id. Now one can specify
44
+ a mapping of that identifier to the corresponding
45
+ `InputParameter`.
46
+ ```
47
+ in:
48
+ - id: one
49
+ type: string
50
+ doc: First input parameter
51
+ - id: two
52
+ type: int
53
+ doc: Second input parameter
54
+ ```
55
+ can be
56
+ ```
57
+ in:
58
+ one:
59
+ type: string
60
+ doc: First input parameter
61
+ two:
62
+ type: int
63
+ doc: Second input parameter
64
+ ```
42
65
43
66
## Purpose
44
67
You can’t perform that action at this time.
0 commit comments