fix: reference to beamline in bec worker
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"uv",
|
||||
"gunicorn",
|
||||
"aarecommon>=0.5",
|
||||
"aarecommon>=0.5.1",
|
||||
"pydantic>=2.11",
|
||||
"numpy",
|
||||
"jfjoch_client==1.0.0rc146",
|
||||
|
||||
@@ -414,7 +414,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