minor fixes
This commit is contained in:
@@ -144,7 +144,9 @@ class AppCfg(QSettings):
|
||||
if AppCfg.DAQ_PV_CH not in keys:
|
||||
dflt.append((AppCfg.DAQ_PV_CH, () )) #list of PVs
|
||||
if AppCfg.DFT_POS_GONIO not in keys:
|
||||
dflt.append((AppCfg.DFT_POS_GONIO, {'mount':(0.,0.,0.,0.),'align':(0.,0.,0.,0.)}))#defout positions
|
||||
dflt.append((AppCfg.DFT_POS_GONIO, {'mount':(0.,0.,0.,0.),'align':(0.,0.,0.,0.)}))#default positions
|
||||
if AppCfg.DFT_POS_BKLGT not in keys:
|
||||
dflt.append((AppCfg.DFT_POS_BKLGT, {'pos_in': -30000.0, 'pos_out': 1000.0, 'pos_diode': -30000.0}))#default positions
|
||||
|
||||
for k,v in dflt:
|
||||
_log.warning(f'{k} not defined. use default')
|
||||
|
||||
Reference in New Issue
Block a user