-
Notifications
You must be signed in to change notification settings - Fork 0
/
fit.cwl
42 lines (35 loc) · 862 Bytes
/
fit.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
cwlVersion: v1.0
class: CommandLineTool
baseCommand: /bin/zsh
requirements:
DockerRequirement:
dockerPull:
clelange/cmssw:9_2_14
InitialWorkDirRequirement:
listing:
- $(inputs.code)
- $(inputs.data)
inputs:
data:
type: Directory
code:
type: Directory
#plotter:
#type: File
stdout: fit.log
outputs:
fit.log:
type: stdout
#mass4l_combine_userlvl3.pdf:
# type: File
#outputBinding:
# glob: "outputs/mass4l_combine_userlvl3.pdf"
arguments:
- prefix: -c
valueFrom: |
cp -r ../../code/fitNcalibrate .; \
cd ../../code/fitNcalibrate; \
mkdir -p ../../../results; \
cp $(inputs.plotter.path) ../../../results; \
python fitPeak.py -i "results" -j "../analyzeNplot/data/samples_Run2016_25ns.json" -l 35867.
python fitPeak.py -i "results" -l 35867. -d