File tree Expand file tree Collapse file tree 4 files changed +78
-2
lines changed Expand file tree Collapse file tree 4 files changed +78
-2
lines changed Original file line number Diff line number Diff line change 126
126
- job : v1.0/null-expression1-job.json
127
127
tool : v1.0/null-expression1-tool.cwl
128
128
output :
129
- output : 2
129
+ output : 1
130
130
doc : Test explicitly passing null to Any type inputs with default values.
131
131
132
132
- job : v1.0/null-expression2-job.json
300
300
- job : v1.0/empty.json
301
301
output : {count_output: 16}
302
302
tool : v1.0/count-lines9-wf.cwl
303
- doc : Test default value on input parameter
303
+ doc : Test default value on step input parameter
304
+
305
+ - job : v1.0/empty.json
306
+ output : {count_output: 16}
307
+ tool : v1.0/count-lines11-wf.cwl
308
+ doc : Test use default value on step input parameter with null source
309
+
310
+ - job : v1.0/cat-job.json
311
+ output : {count_output: 1}
312
+ tool : v1.0/count-lines11-wf.cwl
313
+ doc : Test default value on step input parameter overridden by provided source
304
314
305
315
- job : v1.0/revsort-job.json
306
316
output :
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env cwl-runner
2
+ class: Workflow
3
+ cwlVersion: v1.0
4
+
5
+ inputs :
6
+ file1: File ?
7
+
8
+ outputs :
9
+ count_output:
10
+ type : int
11
+ outputSource : step2/output
12
+
13
+ steps :
14
+ step1:
15
+ run : wc-tool.cwl
16
+ in :
17
+ file1:
18
+ source : file1
19
+ default :
20
+ class: File
21
+ location : whale.txt
22
+ out : [output]
23
+
24
+ step2:
25
+ run : parseInt-tool.cwl
26
+ in :
27
+ file1: step1/output
28
+ out : [output]
Original file line number Diff line number Diff line change 313
313
tool : v1.1.0-dev1/count-lines9-wf.cwl
314
314
doc : Test default value on input parameter
315
315
316
+ - job : v1.1.0-dev1/empty.json
317
+ output : {count_output: 16}
318
+ tool : v1.1.0-dev1/count-lines11-wf.cwl
319
+ doc : Test use default value on step input parameter with null source
320
+
321
+ - job : v1.1.0-dev1/cat-job.json
322
+ output : {count_output: 1}
323
+ tool : v1.1.0-dev1/count-lines11-wf.cwl
324
+ doc : Test default value on step input parameter overridden by provided source
325
+
316
326
- job : v1.1.0-dev1/revsort-job.json
317
327
output :
318
328
output :
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env cwl-runner
2
+ class: Workflow
3
+ cwlVersion: v1.1.0-dev1
4
+
5
+ inputs :
6
+ file1: File ?
7
+
8
+ outputs :
9
+ count_output:
10
+ type : int
11
+ outputSource : step2/output
12
+
13
+ steps :
14
+ step1:
15
+ run : wc-tool.cwl
16
+ in :
17
+ file1:
18
+ source : file1
19
+ default :
20
+ class: File
21
+ location : whale.txt
22
+ out : [output]
23
+
24
+ step2:
25
+ run : parseInt-tool.cwl
26
+ in :
27
+ file1: step1/output
28
+ out : [output]
You can’t perform that action at this time.
0 commit comments