-
Notifications
You must be signed in to change notification settings - Fork 26
Wrong Path for trim compare in plotSCurveFitResults.py #209
Description
Brief summary of issue
Wrong path searched when a specific scan date is required
Types of issue
- [x ] Bug report (report an issue with the code)
- Feature request (request for change which adds functionality)
Expected Behavior
plotSCurveFitResults.py when called with the command plotSCurveFitResults.py --anaType=trimAna --drawLeg -i listOfScanDates_Scurve.txt --alphaLabels should create five different files. The file listOfScanDates_Scurve.txt contains the scandate we want to compare and has the following format
[gemuser@gem904qc8daq ~]$ cat listOfScanDates_Scurve.txt
ChamberName scandate Cal
GE11-X-S-INDIA-0005 2019.05.20.18.28 Per_VFAT_ARM_DAC_Cal
GE11-X-S-INDIA-0005 2019.05.22.14.36 Avg_ARM_DAC_Cal
Here the columns are separated with \t, so do not use VIM editor to edit this file, beacuse it will substitute \t with \s.
plotSCurveFitResults.py for the scandate 2019.05.20.18.28 should look for the following path
/data/bigdisk/GEM-Data-Taking/GE11_QC8/GE11-X-S-INDIA-0005/trim/2019.05.22.18.28
Current Behavior
plotSCurveFitResults.py for the scandate 2019.05.20.18.28 looks to this path /data/bigdisk/GEM-Data-Taking/GE11_QC8//GE11-X-S-INDIA-0005/trim/z4.000000//2019.05.20.18.28
Steps to Reproduce (for bugs)
- login to gemuser@gem904qc8daq
- attach to a screen:
screen -S <nameOfTheScreenYouWant> - create the file
listOfScanDates_Scurve.txtin the current directory as explained above - execute
plotSCurveFitResults.py --anaType=trimAna --drawLeg -i listOfScanDates_Scurve.txt --alphaLabels
Possible Solution (for bugs)
A possible solution is to modify the path called in plotSCurveFitResults.py, removing string z4.000000 from path
Context (for feature requests)
This bug prevents the match of scurves taken on chambers in QC8 at different scanDates
Your Environment
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"