Skip to content

Commit b8a954d

Browse files
committed
add tests: 91 failures
1 parent 85f7fdf commit b8a954d

File tree

336 files changed

+80562
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

336 files changed

+80562
-0
lines changed

src/test/java/org/w3id/cwl/cwl1_2/utils/ExamplesTest.java

Lines changed: 7640 additions & 0 deletions
Large diffs are not rendered by default.

src/test/resources/org/w3id/cwl/cwl1_2/utils/EDAM.owl

Lines changed: 51294 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env cwl-runner
2+
class: CommandLineTool
3+
cwlVersion: v1.2
4+
inputs:
5+
initial_file: File
6+
out_file_name: string
7+
outputs:
8+
processed_file: stdout
9+
stdout: $(inputs.out_file_name)
10+
arguments: [echo, $(inputs.initial_file.basename)]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env python
2+
import sys
3+
import json
4+
import os
5+
args = [os.path.basename(a) for a in sys.argv[1:]]
6+
with open("cwl.output.json", "w") as f:
7+
json.dump({"args": args}, f)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class: CommandLineTool
2+
cwlVersion: v1.2
3+
inputs:
4+
in1: int
5+
baseCommand: [echo]
6+
outputs:
7+
out1:
8+
type: string
9+
outputBinding:
10+
outputEval: bar $(inputs.in1)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- name: capture_kit
2+
type: record
3+
fields:
4+
- name: bait
5+
type: string
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env cwl-runner
2+
3+
class: CommandLineTool
4+
cwlVersion: v1.2
5+
6+
inputs:
7+
file1: File
8+
9+
outputs:
10+
output:
11+
type: File
12+
outputBinding: { glob: output }
13+
14+
baseCommand: [cat]
15+
16+
stdin: $(inputs.file1.path)
17+
stdout: output
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
class: CommandLineTool
2+
cwlVersion: v1.2
3+
inputs:
4+
in1: int
5+
in2: int
6+
in3: int
7+
baseCommand: [echo]
8+
outputs:
9+
out1:
10+
type: string
11+
outputBinding:
12+
outputEval: $(inputs.in1)$(inputs.in2)$(inputs.in3)
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env cwl-runner
2+
class: Workflow
3+
cwlVersion: v1.2
4+
5+
inputs:
6+
file1:
7+
type: File
8+
9+
outputs:
10+
wc_output:
11+
type: File
12+
outputSource: step1/output
13+
14+
steps:
15+
step1:
16+
run: wc-tool.cwl
17+
in:
18+
file1: file1
19+
out: [output]
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/usr/bin/env cwl-runner
2+
class: Workflow
3+
cwlVersion: v1.2
4+
5+
inputs:
6+
file1:
7+
type: File
8+
9+
outputs:
10+
count_output:
11+
type: int
12+
outputSource: step2/output
13+
14+
steps:
15+
step1:
16+
run: wc-tool.cwl
17+
in:
18+
file1: file1
19+
out: [output]
20+
21+
step2:
22+
run: parseInt-tool.cwl
23+
in:
24+
file1: step1/output
25+
out: [output]

0 commit comments

Comments
 (0)