8000 Expanded example a bit · common-workflow-lab/cwl2script@e403047 · GitHub
[go: up one dir, main page]

Skip t 8000 o content

Commit e403047

Browse files
author
Peter Amstutz
committed
Expanded example a bit
1 parent 6521492 commit e403047

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,28 @@ echo '{
3636
"class": "File"
3737
}
3838
}'
39+
40+
$ cwl2script test/revsort.cwl test/revsort-job.json > workflow.sh
41+
$ sh workflow.sh
42+
+ mkdir -p /tmp/tmpXBEvw5
43+
+ mkdir -p /tmp/tmpsvOqNs
44+
+ rev /home/peter/work/cwl2script/test/whale.txt
45+
+ rm -r /tmp/tmpsvOqNs
46+
+ mkdir -p /tmp/tmpNq3QxP
47+
+ mkdir -p /tmp/tmpYjrRnw
48+
+ sort --reverse /tmp/tmpXBEvw5/output.txt
49+
+ rm -r /tmp/tmpYjrRnw
50+
+ mv /tmp/tmpNq3QxP/output.txt .
51+
+ rm -r /tmp/tmpXBEvw5 /tmp/tmpNq3QxP
52+
+ echo {
53+
"output": {
54+
"path": "output.txt",
55+
"class": "File"
56+
}
57+
}
58+
{
59+
"output": {
60+
"path": "output.txt",
61+
"class": "File"
62+
}
63+
}

0 commit comments

Comments
 (0)
0