Skip to content

Commit dba242f

Browse files
committed
Squashed 'cwltool/schemas/' changes from 50bd76a..3e1b02c
3e1b02c Merge commit '6ac559ed62780091eb0cfff914018ed101ef46ef' into scoped-ref-and-typedsl 6ac559e version bump 2cfde6b Merge pull request #32 from common-workflow-language/type_dsl b8edddc re-enable test_avro_regression bedb736 Merge branch 'type_dsl' of github.com:common-workflow-language/schema_salad into type_dsl e93b038 Add missing file 9ca6cc9 remove more str types, possible fix for edam failed test d65fb83 more unicode 4350b30 type clarification 96f08e8 Merge remote-tracking branch 'origin/master' into type_dsl 57f7e83 borrow the updated re.pyi from typeshed c03eb1e type fixes 6e71f35 Merge remote-tracking branch 'origin/master' into type_dsl 68a5c6c More updating to draft-4.dev2 97e8f75 More updating to draft-4.dev2 e554b2b Merge pull request #33 from common-workflow-language/fix-resolve_all_refactor ad34521 fix bug introduced by refactor 5393edc fixes types, removes a few more Anys e298bdc Detect when an abstract class is used but doesn't have a concrete subtype. git-subtree-dir: cwltool/schemas git-subtree-split: 3e1b02c
1 parent 05a4b2b commit dba242f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+492
-307
lines changed

draft-4/draft-4/count-lines1-wf.cwl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ inputs:
99
outputs:
1010
count_output:
1111
type: int
12-
source: step2/output
12+
outputSource: step2/output
1313

1414
steps:
1515
step1:
1616
run: wc-tool.cwl
1717
in:
18-
file1: "#file1"
18+
file1: file1
1919
out: [output]
2020

2121
step2:
2222
run: parseInt-tool.cwl
2323
in:
24-
file1: "#step1/output"
24+
file1: step1/output
2525
out: [output]

draft-4/draft-4/count-lines2-wf.cwl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ inputs:
1111
outputs:
1212
count_output:
1313
type: int
14-
source: "#step2/parseInt_output"
14+
outputSource: step2/parseInt_output
1515

1616
steps:
1717
step1:
1818
in:
19-
wc_file1:
20-
source: "#file1"
19+
wc_file1: file1
2120
out: [wc_output]
2221
run:
2322
id: wc
@@ -36,7 +35,7 @@ steps:
3635

3736
step2:
3837
in:
39-
parseInt_file1: "#step1/wc_output"
38+
parseInt_file1: step1/wc_output
4039
out: [parseInt_output]
4140
run:
4241
class: ExpressionTool

draft-4/draft-4/count-lines3-wf.cwl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ cwlVersion: cwl:draft-4.dev2
44

55
inputs:
66
file1:
7-
type: { type: array, items: File }
7+
type: File[]
88

99
outputs:
1010
count_output:
11-
type: { type: array, items: int }
12-
source: "#step1/output"
11+
type: int[]
12+
outputSource: step1/output
1313

1414
requirements:
1515
ScatterFeatureRequirement: {}
1616

1717
steps:
1818
step1:
1919
run: wc2-tool.cwl
20-
scatter: "#step1/file1"
20+
scatter: file1
2121
in:
22-
file1: "#file1"
22+
file1: file1
2323
out: [output]

draft-4/draft-4/count-lines4-wf.cwl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ inputs:
1010

1111
outputs:
1212
count_output:
13-
type: {type: array, items: int}
14-
source: "#step1/output"
13+
type: int[]
14+
outputSource: step1/output
1515

1616
requirements:
1717
- class: ScatterFeatureRequirement
@@ -20,7 +20,7 @@ requirements:
2020
steps:
2121
step1:
2222
run: wc2-tool.cwl
23-
scatter: "#step1/file1"
23+
scatter: file1
2424
in:
25-
file1: ["#file1", "#file2"]
25+
file1: [file1, file2]
2626
out: [output]

draft-4/draft-4/count-lines5-wf.cwl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ inputs:
99
outputs:
1010
count_output:
1111
type: int
12-
source: "#step1/output"
12+
outputSource: step1/output
1313
steps:
1414
step1:
1515
run: wc2-tool.cwl
1616
in:
17-
file1:
18-
source: "#file1"
17+
file1: file1
1918
out: [output]

draft-4/draft-4/count-lines6-wf.cwl

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ class: Workflow
33
cwlVersion: cwl:draft-4.dev2
44

55
inputs:
6-
file1:
7-
type: {type: array, items: File}
8-
file2:
9-
type: {type: array, items: File}
6+
file1: File[]
7+
file2: File[]
108

119
outputs:
1210
count_output:
13-
type: {type: array, items: int}
14-
source: "#step1/output"
11+
type: int[]
12+
outputSource: step1/output
1513

1614
requirements:
1715
- class: ScatterFeatureRequirement
@@ -20,9 +18,9 @@ requirements:
2018
steps:
2119
step1:
2220
run: wc3-tool.cwl
23-
scatter: "#step1/file1"
21+
scatter: file1
2422
in:
2523
file1:
26-
source: ["#file1", "#file2"]
24+
source: [file1, file2]
2725
linkMerge: merge_nested
2826
out: [output]

draft-4/draft-4/count-lines7-wf.cwl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ requirements:
77

88
inputs:
99
file1:
10-
type: {type: array, items: File}
10+
type: File[]
1111
file2:
12-
type: {type: array, items: File}
12+
type: File[]
1313

1414
outputs:
1515
count_output:
1616
type: int
17-
source: "#step1/output"
17+
outputSource: step1/output
1818

1919
steps:
2020
step1:
2121
run: wc3-tool.cwl
2222
in:
2323
file1:
24-
source: ["#file1", "#file2"]
24+
source: [file1, file2]
2525
linkMerge: merge_flattened
2626
out: [output]

draft-4/draft-4/count-lines8-wf.cwl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ class: Workflow
33
cwlVersion: cwl:draft-4.dev2
44

55
inputs:
6-
file1:
7-
type: File
6+
file1: File
87

98
outputs:
109
count_output:
1110
type: int
12-
source: "#step1/count_output"
11+
outputSource: step1/count_output
1312

1413
requirements:
1514
- class: SubworkflowFeatureRequirement
@@ -18,5 +17,5 @@ steps:
1817
step1:
1918
run: count-lines1-wf.cwl
2019
in:
21-
file1: "#file1"
20+
file1: file1
2221
out: [count_output]

draft-4/draft-4/count-lines9-wf.cwl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs: []
77
outputs:
88
count_output:
99
type: int
10-
source: "#step2/output"
10+
outputSource: step2/output
1111

1212
steps:
1313
step1:
@@ -22,5 +22,5 @@ steps:
2222
step2:
2323
run: parseInt-tool.cwl
2424
in:
25-
file1: "#step1/output"
25+
file1: step1/output
2626
out: [output]

draft-4/draft-4/env-tool1.cwl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
class: CommandLineTool
22
cwlVersion: cwl:draft-4.dev2
33
inputs:
4-
in:
5-
type: string
4+
in: string
65
outputs:
76
out:
87
type: File

0 commit comments

Comments
 (0)