forked from unity-sds/unity-example-application
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocess.cwl
62 lines (62 loc) · 1.19 KB
/
process.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env cwl-runner
arguments:
- -p
- input
- $(inputs.input.path)
- -p
- output
- $(runtime.outdir)
baseCommand:
- papermill
- /home/jovyan/process.ipynb
- --cwd
- /home/jovyan
- "process_out.ipynb"
- -f
- /tmp/inputs.json
- -k
- python3
- --log-output
class: CommandLineTool
cwlVersion: v1.2
inputs:
input: Directory
example_argument_bool:
default: true
type: boolean
example_argument_empty:
default: null
type: string
example_argument_float:
default: 1.0
type: float
example_argument_int:
default: 1
type: int
example_argument_string:
default: string
type: string
output_collection:
default: example-app-collection___1
type: string
summary_table_filename:
default: summary_table.txt
type: string
outputs:
output:
outputBinding:
glob: $(runtime.outdir)
type: Directory
requirements:
DockerRequirement:
dockerPull: gangl/unity-ogc-example-application:174ee35b
InitialWorkDirRequirement:
listing:
- entry: $(inputs)
entryname: /tmp/inputs.json
InlineJavascriptRequirement: {}
InplaceUpdateRequirement:
inplaceUpdate: true
NetworkAccess:
networkAccess: true
ShellCommandRequirement: {}