From 3422eedcc17b1449ea1fe64f934dba5c5053f8b3 Mon Sep 17 00:00:00 2001 From: x01dc Date: Mon, 27 Jul 2026 17:02:17 +0200 Subject: [PATCH] fix(OMNY): call tomo_scan(interactive=False) from tomo_queue_execute() Wires the queue-safe fine-alignment warning (previous LamNI/Flomni commits) into the actual queue dispatch path. --- .../plugins/OMNY_shared/tomo_queue_mixin.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/csaxs_bec/bec_ipython_client/plugins/OMNY_shared/tomo_queue_mixin.py b/csaxs_bec/bec_ipython_client/plugins/OMNY_shared/tomo_queue_mixin.py index e3b7cb1..15cac04 100644 --- a/csaxs_bec/bec_ipython_client/plugins/OMNY_shared/tomo_queue_mixin.py +++ b/csaxs_bec/bec_ipython_client/plugins/OMNY_shared/tomo_queue_mixin.py @@ -868,7 +868,10 @@ class TomoQueueMixin: if resume_job: self.tomo_scan_resume() else: - self.tomo_scan() + # interactive=False: an unattended queued run must + # never block on input() -- see LamNI.tomo_scan()'s + # fine-alignment check. + self.tomo_scan(interactive=False) except Exception as exc: self._tomo_queue_proxy.update_by_id(job_id, status="incomplete") print(f"Tomo queue job '{label}' did not complete: {exc}")