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

Detectors cannot be properly configured for sBit Threshold scans #281

Closed ElizabethRoseStarling closed 4 years ago

ElizabethRoseStarling commented 4 years ago

Problem summary

The QC8 detectors cannot be properly configured for sBit Threshold scans as a result of the generated chConfig files using strings instead of integers.

Types of issue

Expected Behavior

The chConfig.txt files should use "0" and "1" in place of "False" and "True".

Current Behavior

Currently, attempting to follow the instructions in the QC8 shifter instructions results in a problem when configuring the chambers for the sBit threshold scan after the daily S-Curves are taken.

confAllChambers.py --shelf=1 --chConfig --applyMasks --run

results in

Caught Exception can only convert an array of size 1 to a Python scalar, terminating workers

unless the following commands are issued first:

sed -i 's/False/0/' /data/bigdisk/GEM-Data-Taking/GE11_QC8/*/scurve/2020.01.29.09.59/SCurveData/chConfig.txt

sed -i 's/True/1/' /data/bigdisk/GEM-Data-Taking/GE11_QC8/*/scurve/2020.01.29.09.59/SCurveData/chConfig.txt

Steps to Reproduce (for bugs)

  1. From the gem904qc8daq machine, run confAllChambers.py --shelf=1 --chConfig --applyMasks --run

Possible Solution (for bugs)

Either make the above fixing commands included in the configuring script, or make the chConfig files use ints instead of strings by default.

Context (for feature requests)

Your Environment

lpetre-ulb commented 4 years ago

Duplicate of #278 which has been fixed in #279. The bugfix is not yet deployed on the QC8 DAQ machine though.