AareDAQ: fix state_busy flag in sample setter
This commit is contained in:
@@ -312,7 +312,6 @@ class AareDAQ:
|
||||
if target is not None and target.db_id is not None:
|
||||
#self.__aare.sample_mounted(self.__cfg.current_sample)
|
||||
self.save_screenshot_db(target.db_id , f"post_mount_{target.db_id }_{self.__devs.zoom}")
|
||||
self.__cfg.state_busy = False
|
||||
except Exception as e:
|
||||
self.__cfg.state_busy = False
|
||||
# If unmount succeeded, but mount failed
|
||||
@@ -334,6 +333,7 @@ class AareDAQ:
|
||||
raise e
|
||||
|
||||
self.__set_state(BeamlineStateEnum.SampleAlignment)
|
||||
self.__cfg.state_busy = False
|
||||
|
||||
#if target is not None and target.location is not None:
|
||||
# self.__loop_center_sequence(target.db_id)
|
||||
|
||||
Reference in New Issue
Block a user