DAQ: error handling for loop centering. Following loop centering change to higher zoom for ML box

This commit is contained in:
leonarski_f committed 2025-07-17 14:27:19 +02:00
1 parent c50dd0f047
commit c73ac8d880
1 file changed
+6 -2
+6 -2
View File
@@ -793,8 +793,12 @@ class AareDAQ:
self.__cfg.try_set_busy(timeout=360)
geom = self.sample_geometry
self.__mount(sample)
self.__loop_center_sequence(sample.db_id)
self.__set_state(BeamlineStateEnum.SampleAlignment)
if not self.__loop_center_sequence(sample.db_id):
raise LoopCenteringFailed
self.zoom = 700
time.sleep(0.5)
self.__auto_center(RasterGridRequest(
exp_time_s=0.01,
file_prefix=sample_prefix,