forked from reanahub/reana-demo-cms-h4l
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkflow.cwl
44 lines (39 loc) · 859 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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
requirements:
InitialWorkDirRequirement:
listing:
- $(inputs.code)
- $(inputs.data)
inputs:
data:
type: Directory
code:
type: Directory
outputs:
mass4l_combine_userlvl3.pdf:
type: File
outputSource:
step2/mass4l_combine_userlvl3.pdf
steps:
step1data:
run: step1data.cwl
in:
code: code
data: data
out: [DoubleMuParked2012C_10000_Higgs.root, step1data.log]
step1mc:
run: step1mc.cwl
in:
code: code
data: data
out: [Higgs4L1file.root, step1mc.log]
step2:
run: step2.cwl
in:
code: code
data: data
DoubleMuParked2012C_10000_Higgs: step1data/DoubleMuParked2012C_10000_Higgs.root
Higgs4L1file: step1mc/Higgs4L1file.root
out: [mass4l_combine_userlvl3.pdf, step2.log]