File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 856
856
output : {}
857
857
tool : v1.0/envvar2.cwl
858
858
doc : Test $HOME and $TMPDIR are set correctly in Docker
859
+
860
+ - job : v1.0/empty.json
861
+ output :
862
+ " out " : {
863
+ " checksum " : " sha1$7448d8798a4380162d4b56f9b452e2f6f9e24e7a" ,
864
+ " location " : " whatever.txt" ,
865
+ " class " : " File" ,
866
+ " size " : 2
867
+ }
868
+ tool : " v1.0/js-expr-req-wf.cwl#wf"
869
+ doc : Test that expressionLib requirement of individual tool step overrides expressionLib of workflow.
Original file line number Diff line number Diff line change
1
+ cwlVersion: v1.0
2
+ $graph:
3
+ - id : tool
4
+ class: CommandLineTool
5
+ requirements :
6
+ InlineJavascriptRequirement:
7
+ expressionLib :
8
+ - "function foo() { return 2; }"
9
+ inputs : []
10
+ outputs :
11
+ out : stdout
12
+ arguments : [echo, $(foo())]
13
+ stdout : whatever.txt
14
+
15
+ - id : wf
16
+ class: Workflow
17
+ requirements :
18
+ InlineJavascriptRequirement:
19
+ expressionLib :
20
+ - "function bar() { return 1; }"
21
+ inputs : []
22
+ outputs :
23
+ out :
24
+ type : File
25
+ outputSource : tool/out
26
+ steps :
27
+ tool:
28
+ run : "#tool"
29
+ in : {}
30
+ out : [out]
You can’t perform that action at this time.
0 commit comments