Closed AndrewLevin closed 5 years ago
NameError is thrown when I run calibrateThrDac.py
NameError
calibrateThrDac.py
The variable filePath in this line
filePath
https://github.com/cms-gem-daq-project/gem-plotting-tools/blob/develop/macros/calibrateThrDac.py#L134
is not defined. I am not sure what this is supposed to do or whether it is needed.
I encountered this problem when running calibrateThrDac.py in my virtual environment on gem904daq01
Since this happens after the script finished, it doesn't really prevent me from doing anything, but it is still a runtime crash.
good catch; change filePath to outputDir.
outputDir
NameError
is thrown when I runcalibrateThrDac.py
Brief summary of issue
The variable
filePath
in this linehttps://github.com/cms-gem-daq-project/gem-plotting-tools/blob/develop/macros/calibrateThrDac.py#L134
is not defined. I am not sure what this is supposed to do or whether it is needed.
Types of issue
Steps to Reproduce (for bugs)
I encountered this problem when running
calibrateThrDac.py
in my virtual environment on gem904daq01Context
Since this happens after the script finished, it doesn't really prevent me from doing anything, but it is still a runtime crash.