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

NameError in calibrateThrDac.py #236

Closed AndrewLevin closed 5 years ago

AndrewLevin commented 5 years ago

NameError is thrown when I run calibrateThrDac.py

Brief summary of issue

The variable filePath in this line

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.

Types of issue

Steps to Reproduce (for bugs)

I encountered this problem when running calibrateThrDac.py in my virtual environment on gem904daq01

Context

Since this happens after the script finished, it doesn't really prevent me from doing anything, but it is still a runtime crash.

bdorney commented 5 years ago

good catch; change filePath to outputDir.