cms-gem-daq-project / gem-plotting-tools

Repository for GEM commissioning plotting tools
GNU General Public License v3.0
1 stars 26 forks source link

File path is not being found #181

Closed mgruchala closed 5 years ago

mgruchala commented 5 years ago

Brief summary of issue

Whenever we try to run the command: plotSbitThreshComp.py --alphaLabels /home/gemuser/ThreshComp.txt with the ThreshComp.txt of the following content:

ChamberName scandate
GE11-X-S-CERN-0007  2019.02.14.16.45 
GE11-X-S-CERN-0007  2019.02.14.17.25
GE11-X-S-CERN-0007  2019.02.14.16.55 

or

ChamberName scandate
GE11-X-S-CERN-0007  2019.02.14.16.45    HV ON
GE11-X-S-CERN-0007  2019.02.14.17.25    HV ON, dV = 0
GE11-X-S-CERN-0007  2019.02.14.16.55    HV OFF

we always get the output indicating that there is a problem with correct setting the path:

Filepath /data/bigdisk/GEM-Data-Taking/GE11_QC8//GE11-X-S-CERN-0007/sbitRate/channelOR//2019.02.14.16.45  does not exist!
Please cross-check, exiting!

Types of issue

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

1.Just execute command I have listed above (plotSbitThreshComp.py --alphaLabels /home/gemuser/ThreshComp.txt) with the file of the content that was also listed above.

Possible Solution (for bugs)

Context (for feature requests)

Your Environment

mexanick commented 5 years ago

the issue is in trailing whitespace at the last line of your input file. Closing as improper usage