Skip to content

Commit 1814f49

Browse files
author
Peter Amstutz
committed
outputEval requires valid expression
1 parent f47b309 commit 1814f49

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/timelimit2-wf.cwl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ cwlVersion: v1.1
55
requirements:
66
ToolTimeLimit:
77
timelimit: 5
8+
InlineJavascriptRequirement: {}
89

910
inputs:
1011
i:
@@ -30,7 +31,7 @@ steps:
3031
o:
3132
type: string?
3233
outputBinding:
33-
outputEval: "time passed"
34+
outputEval: $("time passed")
3435
step2:
3536
in:
3637
i: step1/o
@@ -45,5 +46,4 @@ steps:
4546
o:
4647
type: string?
4748
outputBinding:
48-
outputEval: "time passed"
49-
49+
outputEval: $("time passed")

tests/timelimit3-wf.cwl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ requirements:
77
timelimit: 0
88
WorkReuse:
99
enableReuse: false
10+
InlineJavascriptRequirement: {}
1011

1112
inputs:
1213
i:
@@ -32,4 +33,4 @@ steps:
3233
o:
3334
type: string?
3435
outputBinding:
35-
outputEval: "time passed"
36+
outputEval: $("time passed")

0 commit comments

Comments
 (0)