Skip to content

Commit 04477a8

Browse files
John Didionmr-c
andauthored
make workflow output types optional; addresses #146, #147 (#149)
* validation warning won't be issued anymore Co-authored-by: Michael R. Crusoe <[email protected]>
1 parent c0c31c5 commit 04477a8

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

tests/conditionals/cond-wf-002.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515

1616
outputs:
1717
out1:
18-
type: string
18+
type: string?
1919
outputSource: step1/out1
2020

2121
requirements:

tests/conditionals/cond-wf-002_nojs.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ steps:
1818

1919
outputs:
2020
out1:
21-
type: string
21+
type: string?
2222
outputSource: step1/out1

tests/conditionals/cond-wf-011.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ outputs:
2626
type: array
2727
items:
2828
type: array
29-
items: string
29+
items: [string, 'null']
3030
outputSource: step1/out1
3131
pickValue: all_non_null
3232

tests/conditionals/cond-wf-011_nojs.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ outputs:
3636
type: array
3737
items:
3838
type: array
39-
items: string
39+
items: [string, 'null']
4040
outputSource: step1/out1
4141
pickValue: all_non_null
4242

tests/conditionals/test-index.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
- id: cond-3
2525
label: direct_required
26-
doc: Should give validation warning because of required sink
2726
tool: cond-wf-002.cwl
2827
job: val.1.job.yaml
2928
output:
@@ -230,7 +229,6 @@
230229

231230
- id: cond-3_nojs
232231
label: direct_required_nojs
233-
doc: Should give validation warning because of required sink, no javascript
234232
tool: cond-wf-002_nojs.cwl
235233
job: val.1.job.yaml
236234
output:

0 commit comments

Comments
 (0)