Skip to content
Snippets Groups Projects

[Jungfrau][Correct] Fix not returning after finding a dark fixed gain constants

Merged Karim Ahmed requested to merge fix/return_force_fixed_constants into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
"No fixed gain constants found. "
"No fixed gain constants found. "
"Looking for dynamic gain constant. "
"Looking for dynamic gain constant. "
f"(CalCatError: {e}.")
f"(CalCatError: {e}.")
 
else:
 
return jf_cal, jf_metadata
 
# In case of CALCATError exception look for dynamic gain constants
jf_cal, jf_metadata = jungfrau_cal_mdata(gm=0)
jf_cal, jf_metadata = jungfrau_cal_mdata(gm=0)
for mod, ccvs in jf_metadata.items():
for mod, ccvs in jf_metadata.items():
Loading