Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Wrong Path for trim compare in plotSCurveFitResults.py #209

Open
1 task
simonepv opened this issue May 22, 2019 · 0 comments
Open
1 task

Wrong Path for trim compare in plotSCurveFitResults.py #209

simonepv opened this issue May 22, 2019 · 0 comments

Comments

@simonepv
Copy link

simonepv commented May 22, 2019

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)

  1. login to gemuser@gem904qc8daq
  2. attach to a screen: screen -S <nameOfTheScreenYouWant>
  3. create the file listOfScanDates_Scurve.txt in the current directory as explained above
  4. 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)"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant