revert(omny): otransfer_park_loadlock_slot confirmation back to CLI, not GUI
CI for csaxs_bec / test (push) Successful in 1m51s
CI for csaxs_bec / test (push) Successful in 1m51s
Requested revert of one call site from the earlier GUI-console-confirm sweep: this confirmation is about the operator physically checking the leica transfer's back position, not something they'd be watching the camera GUI console for, so it stays a plain terminal yesno() prompt. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Mupip8x7Hean6E3FFvpbj
This commit is contained in:
1 parent
7dc8de741c
commit
953d381acd
1 file changed
+4
-1
@@ -493,7 +493,10 @@ class OMNYSampleTransferMixin:
|
||||
)
|
||||
# if the valve of the loadlock is not closed, ask before movement
|
||||
# todo if(epics_get("XOMNY-ES1-LL1VG1:POSITION")!="CLOSED") {
|
||||
if not self.otransfer_confirm_dialog("Please confirm that the leica transfer is in back position."):
|
||||
# CLI prompt on purpose, not otransfer_confirm_dialog() -- the operator
|
||||
# is physically at the loadlock/leica transfer, not watching the GUI
|
||||
# camera console, when confirming this.
|
||||
if not self.OMNYTools.yesno("Please confirm that the leica transfer is in back position."):
|
||||
raise OMNYTransferError("Leica shuttle is not in back position.")
|
||||
else:
|
||||
self._oparkz_leica_slot(slot_number)
|
||||
|
||||
Reference in new issue
Block a user