-
Notifications
You must be signed in to change notification settings - Fork 0
/
simple-runner6b.cwl
46 lines (45 loc) · 1.06 KB
/
simple-runner6b.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
cwlVersion: v1.2
$graph:
- class: Workflow
id: simple-runner-workflow6
label: simple runner
doc: simple runner
requirements:
NetworkAccess:
networkAccess: true
inputs:
inputstring:
type: string
doc: the file to transform
outputs:
- id: asset-result
type: Directory
outputSource:
- run-code/asset-result
steps:
run-code:
run: "#code-runner"
in:
inputstring: inputstring
out:
- asset-result
- class: CommandLineTool
id: code-runner
requirements:
NetworkAccess:
networkAccess: true
DockerRequirement:
dockerPull: public.ecr.aws/z0u8g6n1/simple_runner:0.2
baseCommand: run_code.py
inputs:
inputstring:
type: string
inputBinding:
prefix: --inputstring=
separate: false
position: 4
outputs:
asset-result:
type: Directory
outputBinding:
glob: "./asset_output"