From 89056e5a527d9f4ad2e141b6e3bc358a35c8b1d4 Mon Sep 17 00:00:00 2001 From: x01dc Date: Thu, 3 Sep 2026 15:12:41 +0200 Subject: [PATCH] docs(omny): add tomo-scan/queue/widget live-testing checklist Written so Mirko can pull this and run through it from his own machine -- covers the Phase 2 widget (untested, includes the critical type-4/5 _validate() fix), the progress-GUI/idle-time/timing-summary changes, first real end-to-end tomo-queue runs, and the advanced tomo modes' full scans (only parameters were tested so far). Mirrors SAMPLE_STORAGE_TEST_CHECKLIST.md's format/purpose for the concurrent sample-storage work. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01QLrD7sVYGLAzsQjLVJpCgt --- .../omny/AI_docs/TOMO_SCAN_TEST_CHECKLIST.md | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 csaxs_bec/bec_ipython_client/plugins/omny/AI_docs/TOMO_SCAN_TEST_CHECKLIST.md diff --git a/csaxs_bec/bec_ipython_client/plugins/omny/AI_docs/TOMO_SCAN_TEST_CHECKLIST.md b/csaxs_bec/bec_ipython_client/plugins/omny/AI_docs/TOMO_SCAN_TEST_CHECKLIST.md new file mode 100644 index 00000000..1ec26493 --- /dev/null +++ b/csaxs_bec/bec_ipython_client/plugins/omny/AI_docs/TOMO_SCAN_TEST_CHECKLIST.md @@ -0,0 +1,59 @@ +# OMNY tomo-scan/tomo-queue/widget testing checklist (as of 2026-09-04) + +For live/sim testing of this branch's (`update-omny`) tomo-scan work: the tomo-queue backend +(`TomoQueueMixin`, Phase 1), the progress-ring GUI + idle-time tracking + end-of-scan timing +summary, the `~/data/raw/` path fixes, and the `OMNY_TomoParams` widget's OMNY support (Phase 2). +Written so this can be pulled and run from a separate session/machine. See `OPEN_ISSUES.md` for +the broader OMNY live-testing effort this is part of. + +## Widget — `OMNY_TomoParams` (never tested live, highest priority) + +- [ ] Open `OMNY_TomoParams` against the OMNY session — it detects `"omny"` (not flomni/lamni), + no "no known setup" banner. +- [ ] Cycle through all 5 tomo types in the dropdown — the "Equally spaced sub-tomograms" section + shows for types 1/4/5 and hides for 2/3; the "Sub-tomograms" label reads 2/4/8 correctly for + each. +- [ ] **Submit or queue a type-4 and a type-5 job specifically** — a hardcoded validation bug + (`tomo_type not in (1, 2, 3)`) would have silently rejected these before the fix; this is + the single most important check on this list. +- [ ] Check a queued type-4/5 job's tooltip and the "Projections" column in the queue dialog show + correct values. +- [ ] Shrink FOV/step until the Fermat-position count drops low enough to trigger the orange + warning / blocked submit — compare against the CLI's `tomo_parameters()` warning for the + same values. + +## Progress GUI / idle-time / timing summary (recently changed) + +- [ ] Run a real scan and watch the progress window — it should **not** re-raise/refocus on every + projection anymore (was "closing and reopening" on macOS). +- [ ] Progress bar shows **3 rings** now (third one auto-tracks the live scan itself). +- [ ] After a completed `tomo_scan()`, the end-of-scan summary prints: "Total measurement time" / + "...excluding detected gaps" / "...lost to detected gaps". +- [ ] Interrupt and resume a scan (or otherwise create a gap) — confirm idle time is picked up in + that summary instead of showing 0. + +## Tomo-queue backend, first real end-to-end runs + +- [ ] `tomo_queue_execute()` on a real queued job, not just add/show. +- [ ] `tomo_scan_resume()` after interrupting a scan. +- [ ] `tomo_queue_reacquire()` — try it on both a type-1 job and a type-4/5 job (the + `_TOMO_TYPE_1_LIKE` generalization is new). + +## Advanced tomo modes — parameters were tested, full scans weren't + +- [ ] A real `omny.tomo_scan()` for type 2 (golden ratio) and type 3 (golden-start), not just + setting parameters via `tomo_parameters()`. +- [ ] A real full scan for type 4 and type 5 (4/8 sub-tomograms). + +## Smaller fixes + +- [ ] `tomography_scannumbers.txt` and the PDF report land under `~/data/raw/...` (not the old + `~/Data10/...`, which doesn't exist on a fresh machine). +- [ ] If your session has scilog configured: `write_to_scilog()`/the PDF report actually send + (rather than just skip with a "scilog is not enabled" warning). + +## Already confirmed working live (informational, not re-testing needed) + +- `omny.tomo_scan()`/`omny.tomo_queue_add()`/`omny.tomo_queue_show()` for tomo_type 1 — "tomo + scan and tomo queue seems to work now for omny." +- `tomo_parameters()`'s "too few Fermat scan points" CLI warning.