Skip to content
Snippets Groups Projects

Expose --blc-stripes to update_config.py and fix old parameter names

Merged Karim Ahmed requested to merge feat/add_blcstripes_to_updateconfig into master
2 files
+ 15
10
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -92,8 +92,9 @@ EXPECTED_CONF = [
@@ -92,8 +92,9 @@ EXPECTED_CONF = [
'xray-gain': {'type': bool},
'xray-gain': {'type': bool},
'blc-noise': {'type': bool},
'blc-noise': {'type': bool},
'blc-set-min': {'type': bool},
'blc-set-min': {'type': bool},
'dont-zero-nans': {'type': bool},
'blc-stripes': {'type': bool},
'dont-zero-orange': {'type': bool},
'zero-nans': {'type': bool},
 
'zero-orange': {'type': bool},
'max-pulses': {'type': list,
'max-pulses': {'type': list,
'msg': 'Range list of maximum pulse indices '
'msg': 'Range list of maximum pulse indices '
'(--max-pulses start end step). '
'(--max-pulses start end step). '
@@ -106,8 +107,9 @@ EXPECTED_CONF = [
@@ -106,8 +107,9 @@ EXPECTED_CONF = [
'no-xray-gain': {'type': bool},
'no-xray-gain': {'type': bool},
'no-blc-noise': {'type': bool},
'no-blc-noise': {'type': bool},
'no-blc-set-min': {'type': bool},
'no-blc-set-min': {'type': bool},
'no-dont-zero-nans': {'type': bool},
'no-blc-stripes': {'type': bool},
'no-dont-zero-orange': {'type': bool}
'no-zero-nans': {'type': bool},
 
'no-zero-orange': {'type': bool}
},
},
{
{
'karabo-da': {
'karabo-da': {
@@ -137,15 +139,17 @@ args_1 = {
@@ -137,15 +139,17 @@ args_1 = {
"xray_gain": None,
"xray_gain": None,
"blc_noise": None,
"blc_noise": None,
"blc_set_min": None,
"blc_set_min": None,
"dont_zero_nans": None,
"blc_stripes": None,
"dont_zero_orange": None,
"zero_nans": None,
 
"zero_orange": None,
"max_pulses": None,
"max_pulses": None,
"no_rel_gain": None,
"no_rel_gain": None,
"no_xray_gain": None,
"no_xray_gain": None,
"no_blc_noise": None,
"no_blc_noise": None,
"no_blc_set_min": None,
"no_blc_set_min": None,
"no_dont_zero_nans": None,
"no_blc_stripes": None,
"no_dont_zero_orange": None,
"no_zero_nans": None,
 
"no_zero_orange": None,
"karabo_da": None,
"karabo_da": None,
}
}
Loading