From 6f487a5010ff697b65bce9d10f75d177e16b8ddd Mon Sep 17 00:00:00 2001 From: Shekar V Date: Fri, 7 Jun 2024 02:24:54 -0400 Subject: [PATCH] Added transition to SA for FMX if no raster max is found --- daq_macros.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/daq_macros.py b/daq_macros.py index f231a7b9..48e65119 100644 --- a/daq_macros.py +++ b/daq_macros.py @@ -328,6 +328,8 @@ def autoRasterLoop(currentRequest): if not face_on_max_coords: autoRasterFlag = 0 + if daq_utils.beamline == 'fmx': + gov_status = gov_lib.setGovRobot(gov_robot, 'SA') return 0 RE(bps.mv(gonio.gx, sample_detection["center_x"], @@ -343,6 +345,8 @@ def autoRasterLoop(currentRequest): # Now move to the hot cell of the face on raster, then start standard collection if not ortho_max_coords: autoRasterFlag = 0 + if daq_utils.beamline == 'fmx': + gov_status = gov_lib.setGovRobot(gov_robot, 'SA') return 0 logger.info(f"AUTORASTER LOOP: {face_on_max_coords=} {ortho_max_coords=}")