Skip to content

Commit 877d538

Browse files
committed
fix: removed inputs/outputs from CWL files to simplify them, focusing only on requirements
1 parent 3cdfb72 commit 877d538

File tree

2 files changed

+15
-31
lines changed

2 files changed

+15
-31
lines changed

tests/wf/bad_resreq_mnmx_clt.cwl

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ requirements:
88
coresMax: 2
99

1010
inputs: []
11+
outputs: []
1112

12-
outputs:
13-
output:
14-
type: stdout
13+
baseCommand: ["echo", "Hello World"]
1514

16-
baseCommand: echo
17-
18-
stdout: cores.txt
19-
20-
arguments: [ $(runtime.cores) ]

tests/wf/bad_resreq_mnmx_wf.cwl

Lines changed: 13 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,25 @@
11
#!/usr/bin/env cwl-runner
2-
3-
cwlVersion: v1.0
42
class: Workflow
5-
inputs:
6-
inp: File
7-
ex: string
3+
cwlVersion: v1.2
84

95
requirements:
106
ResourceRequirement:
117
ramMin: 128
128
ramMax: 64
139

14-
outputs:
15-
classout:
16-
type: File
17-
outputSource: argument/classfile
10+
inputs: []
11+
outputs: []
1812

1913
steps:
20-
untar:
21-
run: tar-param.cwl
22-
in:
23-
tarfile: inp
24-
extractfile: ex
25-
out: [example_out]
14+
hello_world:
2615
requirements:
2716
ResourceRequirement:
28-
ramMin: 64
29-
ramMax: 128
30-
31-
argument:
32-
run: arguments.cwl
33-
in:
34-
src: untar/example_out
35-
out: [classfile]
17+
ramMin: 64
18+
ramMax: 128
19+
run:
20+
class: CommandLineTool
21+
baseCommand: [ "echo", "Hello World" ]
22+
inputs: [ ]
23+
outputs: [ ]
24+
out: [ ]
25+
in: [ ]

0 commit comments

Comments
 (0)