fix: adjust gap when changing energy
CI / lint (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 (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
This commit is contained in:
1 parent
116ea179c4
commit
e8bd2f59c6
1 file changed
+1
-1
@@ -383,7 +383,7 @@ class BECClientWorker:
|
||||
logger.info(f"Current energy: {current_energy:.1f} eV")
|
||||
logger.info(f"Change energy requested: from {current_energy:.1f} to {value:.1f} eV")
|
||||
try:
|
||||
self.macros.bl_energy(value, move_gap=False, mono_scan=True, plot=plot)
|
||||
self.macros.bl_energy(value, move_gap=True, mono_scan=True, plot=plot)
|
||||
except Exception as e:
|
||||
raise self._bec_error(
|
||||
e,
|
||||
|
||||
Reference in new issue
Block a user