diff --git a/csaxs_bec/bec_ipython_client/plugins/omny/omny_sample_transfer_mixin.py b/csaxs_bec/bec_ipython_client/plugins/omny/omny_sample_transfer_mixin.py index 2ae14aa3..7bd6b50a 100644 --- a/csaxs_bec/bec_ipython_client/plugins/omny/omny_sample_transfer_mixin.py +++ b/csaxs_bec/bec_ipython_client/plugins/omny/omny_sample_transfer_mixin.py @@ -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)