fix: bec_worker change_enegergy type beamlien to self.beamline
This commit is contained in:
@@ -398,7 +398,7 @@ class BECClientWorker:
|
||||
logger.warning(
|
||||
f"Energy change may have failed, current energy: {self.check_current_energy()} eV"
|
||||
)
|
||||
if beamline is MXBeamline.X10SA:
|
||||
if self.beamline is MXBeamline.X10SA:
|
||||
additonal_text = [
|
||||
f"New dcm_bragg position: {self.dev.dcm_bragg.position:4g} mrad",
|
||||
f"New dcm_pitch position: {self.dev.dcm_pitch.position:4g} ",
|
||||
|
||||
Reference in New Issue
Block a user