File tree Expand file tree Collapse file tree 3 files changed +31
-6
lines changed Expand file tree Collapse file tree 3 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,22 @@ Now invoke `cwl-runner` with the tool wrapper and the input object on the
33
33
command line:
34
34
35
35
~~~
36
- $ cwltool createfile.cwl echo-job.yml
37
- [job 140528604979344] /home/example$ cat example.conf
38
- CONFIGVAR=Hello world!
36
+ $ cwl-runner createfile.cwl echo-job.yml
37
+ [job createfile.cwl] /home/example$ cat \
38
+ example.conf > /home/example/output.txt
39
+ [job createfile.cwl] completed success
40
+ {
41
+ "example_out": {
42
+ "location": "file:///home/example/output.txt",
43
+ "basename": "output.txt",
44
+ "class": "File",
45
+ "checksum": "sha1$5d3f955d1bb862ec618bc2f7ca4c5fa29fa39e89",
46
+ "size": 22,
47
+ "path": "/home/example/output.txt"
48
+ }
49
+ }
39
50
Final process status is success
40
- {}
51
+ $ cat output.txt
52
+ CONFIGVAR=Hello world!
41
53
~~~
42
54
{: .output}
Original file line number Diff line number Diff line change @@ -13,4 +13,7 @@ requirements:
13
13
14
14
inputs :
15
15
message: string
16
- outputs : []
16
+ outputs :
17
+ example_out:
18
+ type : stdout
19
+ stdout : output.txt
Original file line number Diff line number Diff line change 151
151
location : Any
152
152
size : 36
153
153
154
- # Section 14 depends on side-effects
154
+ # Section 14
155
+ - doc : Test for section 14
156
+ job : 14-runtime/echo-job.yml
157
+ tool : 14-runtime/createfile.cwl
158
+ output :
159
+ example_out :
160
+ class : File
161
+ checksum : sha1$5d3f955d1bb862ec618bc2f7ca4c5fa29fa39e89
162
+ basename : output.txt
163
+ location : Any
164
+ size : 22
155
165
156
166
# Section 15
157
167
- doc : Test for section 15
You can’t perform that action at this time.
0 commit comments