DAQ: robot dry and park on repeated mount failures

This commit is contained in:
appleb_m committed 2025-12-22 09:30:27 +01:00
1 parent 7bf97eeae3
commit 90545a420b
1 file changed
+2 -2
+2 -2
View File
@@ -326,13 +326,13 @@ class AareDAQ:
failed = self.__cfg.increment_failed_mount_count()
if failed >=4:
#TODO move park does not dry, need to change this!!!
self.__devs.tell.move_park(wait=False)
self.__devs.tell.dry(wait=False, wait_cold=-1)
raise CriticalTellException(f"Repeated drying failure, moved to park"
f"\nThere either really is no sample or "
f"a critical failure.\nPlease check the dewar and if a sample, "
f"please contact the MX team")
elif failed >=3:
self.__devs.tell.move_park(wait=False)
self.__devs.tell.dry(wait=False, wait_cold=-1)
raise WarningTellException(f"Continued to not find a sample, drying robot in park for 10 minutes. "
f"\n Please get a cup of coffee.\nAfter the robot has dried, "
f"check the sample positions that have been missed, if no samples continue!"