CI for csaxs_bec / test (push) Failing after 5s
Mirko: "the flomni progress bar has three rings. here i am seing only two... at the end of a tomogram in flomni a summary of the measurement time and time lost is displayed. omny seems not to have that, maybe not even measuring the time." Both traced back to the same root gap left by the Phase-1 tomo-queue port: nothing computed estimated_remaining_time/estimated_finish_time, and nothing refreshed progress["heartbeat"] *during* a running scan (only cleared it to None on completion) -- so accumulated_idle_time stayed 0.0 forever and there was no ETA data to show or summarize. - _tomo_scan_at_angle() now refreshes the heartbeat every angle and attributes any gap beyond a normal-cadence heuristic to accumulated_idle_time (mirrors flomni's identical formula, minus its frames_per_trigger factor which OMNY has no property for). - _print_progress() computes/stores/prints estimated_remaining_time and estimated_finish_time once the scan rate has stabilized. - tomo_scan() prints an end-of-scan "Total measurement time"/"...excluding detected gaps"/"...lost to detected gaps" summary and sends it to scilog, direct port of flomni's block (minus its measured_log call, which OMNY has no equivalent of). - gui_tools.py: omnygui_show_progress() adds flomni's third, scan-linked auto-updating ring; _omnygui_update_progress()'s center label now shows start time / ETA / estimated finish / active hook, matching flomni's _flomnigui_update_progress(). _describe_active_hook()/_active_hook_source() needed no porting -- already provided by TomoQueueMixin since Phase 1. Not ported: flomni's separate persistent timing-statistics-log subsystem (_log_tomogram_timing()) -- out of scope for what was actually asked (the printed summary + ring count). 9 new tests (test_omny_tomo_scan.py, test_omny_gui_tools.py). Full suite: 731 passed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QLrD7sVYGLAzsQjLVJpCgt