Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit ab021ee

Browse files
committed
Adds test cwl for int_tool
1 parent 0b9f2d4 commit ab021ee

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

cwlgen/workflow.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def __init__(self):
1717
self.outputs = []
1818
self._path = None
1919

20+
2021
def export(self, outfile=None):
2122
"""
2223
Export the workflow in CWL either on STDOUT or in outfile.

test/int_tool.cwl

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env cwl-runner
2+
3+
cwlVersion: v1.0
4+
id: tool_id
5+
label: a_label
6+
baseCommand: cat
7+
class: CommandLineTool
8+
doc: "super_doc"
9+
stdin: "in"
10+
stderr: "err"
11+
stdout: "out"
12+
inputs:
13+
INTEGER:
14+
doc: 'documentation_in'
15+
inputBinding:
16+
loadContents: True
17+
position: 0
18+
prefix: --input
19+
separate: True
20+
itemSeparator: ';'
21+
valueFrom: here
22+
shellQuote: True
23+
type: int
24+
outputs:
25+
OUTPUT1:
26+
label: label_out
27+
doc: 'documentation_out'
28+
outputBinding:
29+
glob: "find"
30+
loadContents: True
31+
outputEval: "eval"
32+
type: File

0 commit comments

Comments
 (0)