fix: reference to beamline in bec worker
CI / lint (push) Skipped
CI / test (3.11) (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
CI / lint (pull_request) Failing after 1m1s
CI / test (3.11) (pull_request) Successful in 1m4s
CI / test (3.12) (pull_request) Successful in 1m6s
CI / test (3.13) (pull_request) Successful in 1m13s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 1m19s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Failing after 1m18s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Failing after 1m20s
CI / test-with-coverage (pull_request) Successful in 1m34s
CI / coverage-analysis (pull_request) Failing after 4s

This commit is contained in:
David Perl
2026-08-21 14:46:29 +02:00
parent 057326455d
commit d49c90b8b6
+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} ",