Skip to content

Commit ccf9b25

Browse files
authored
Merge branch 'gh-pages' into change-output-for-07
2 parents beb9645 + d6633ee commit ccf9b25

File tree

3 files changed

+37
-5
lines changed

3 files changed

+37
-5
lines changed

_episodes/09-array-inputs.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,29 @@ on the command line:
4040

4141
~~~
4242
$ cwl-runner array-inputs.cwl array-inputs-job.yml
43-
[job 140334923640912] /home/example$ echo -A one two three -B=four -B=five -B=six -C=seven,eight,nine
44-
-A one two three -B=four -B=five -B=six -C=seven,eight,nine
43+
[job array-inputs.cwl] /home/examples$ echo \
44+
-A \
45+
one \
46+
two \
47+
three \
48+
-B=four \
49+
-B=five \
50+
-B=six \
51+
-C=seven,eight,nine > /home/examples/output.txt
52+
[job array-inputs.cwl] completed success
53+
{
54+
"example_out": {
55+
"location": "file:///home/examples/output.txt",
56+
"basename": "output.txt",
57+
"class": "File",
58+
"checksum": "sha1$91038e29452bc77dcd21edef90a15075f3071540",
59+
"size": 60,
60+
"path": "/home/examples/output.txt"
61+
}
62+
}
4563
Final process status is success
46-
{}
64+
$ cat output.txt
65+
-A one two three -B=four -B=five -B=six -C=seven,eight,nine
4766
~~~
4867
{: .output}
4968

_includes/cwl/09-array-inputs/array-inputs.cwl

100644100755
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ inputs:
2727
separate: false
2828
position: 4
2929

30-
outputs: []
30+
outputs:
31+
example_out:
32+
type: stdout
33+
stdout: output.txt
3134
baseCommand: echo

_includes/cwl/conformance-test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,17 @@
7272
location: Any
7373
size: 184
7474

75-
# Section 9 depends on side-effects
75+
# Section 9
76+
- doc: Test for section 9
77+
job: 09-array-inputs/array-inputs-job.yml
78+
tool: 09-array-inputs/array-inputs.cwl
79+
output:
80+
example_out:
81+
class: File
82+
checksum: sha1$91038e29452bc77dcd21edef90a15075f3071540
83+
basename: output.txt
84+
location: Any
85+
size: 60
7686

7787
# Section 10
7888
- doc: Test for section 10

0 commit comments

Comments
 (0)