fix: try set busy outside of catch-except
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
-1
@@ -2313,8 +2313,8 @@ class AareDAQ:
|
||||
LoopCenteringFailed: If the centering sequence fails
|
||||
"""
|
||||
start = time.perf_counter()
|
||||
self._cfg.try_set_busy(timeout=360)
|
||||
try:
|
||||
self._cfg.try_set_busy(timeout=360)
|
||||
if sample is None:
|
||||
if self.sample is None:
|
||||
raise LoopCenteringFailed(
|
||||
|
||||
Reference in New Issue
Block a user