-
Notifications
You must be signed in to change notification settings - Fork 35
/
workflow.cwl
49 lines (42 loc) · 985 Bytes
/
workflow.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
#!/usr/bin/env cwl-runner
# Note that if you are working on the analysis development locally, i.e. outside
# of the REANA platform, you can proceed as follows:
#
# $ cd reana-demo-root6-roofit
# $ mkdir cwl-local-run
# $ cd cwl-local-run
# $ cp -a ../code ../workflow/cwl/input.yml .
# $ cwltool --quiet --outdir="../results" ../workflow/cwl/workflow.cwl input.yml
# $ firefox ../results/plot.png
cwlVersion: v1.0
class: Workflow
inputs:
gendata_tool: File
fitdata_tool: File
events: int
outputs:
plot:
type: File
outputSource:
fitdata/result
steps:
gendata:
hints:
reana:
kubernetes_memory_limit: '256Mi'
run: gendata.cwl
in:
gendata_tool: gendata_tool
events: events
out: [data]
fitdata:
hints:
reana:
kubernetes_memory_limit: '256Mi'
run: fitdata.cwl
in:
fitdata: fitdata_tool
data: gendata/data
out: [result]
$namespaces:
reana: https://www.reana.io