fix: reference to beamline in bec worker

This commit is contained in:
David Perl
2026-08-25 09:30:59 +02:00
committed by perl_d
parent 24c3741465
commit 8ad3042e0d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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} ",