Skip to content
Snippets Groups Projects
Commit 5e7b7ce3 authored by Andrey Samartsev's avatar Andrey Samartsev
Browse files

small fixes

parent e7828b55
No related branches found
No related tags found
1 merge request!432Fix/da qoldformat corr
......@@ -69,7 +69,7 @@ def get_dssc_ctrl_data(in_folder, slow_data_pattern,
ctrlDataFiles[quadrant + 1] = f
if len(ctrlDataFiles) == 0:
print("ERROR: no Control Slow Data found!")
print("ERROR: no Slow Control Data found!")
return targetGainAll, encodedGainAll, operatingFreqAll
daq_format = None
......@@ -84,7 +84,7 @@ def get_dssc_ctrl_data(in_folder, slow_data_pattern,
elif '/METADATA/deviceId' in ctlrh5file:
ctrlloc = ctlrh5file['/METADATA/deviceId'][0]
else:
print("No Slow Control Data found in files!")
print("ERROR: no Slow Control Data found in files!")
return targetGainAll, encodedGainAll, operatingFreqAll
ctrlloc = ctrlloc.decode("utf-8")
......@@ -132,7 +132,7 @@ def get_dssc_ctrl_data(in_folder, slow_data_pattern,
# 22 corresponds to 4.5 MHz, 44 to 2.25 MHz, etc.
operatingFreqs[quadrant] = 4.5 * (22.0 / opFreq)
else:
print(f"no slow data for quadrant {quadrant} is found")
print(f"ERROR: no slow data for quadrant {quadrant} is found")
for varpair in [
(targetGainAll, tGain),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment