CI for csaxs_bec / test (push) Successful in 1m48s
previous_subtomo_number resets to -1 on every tomo_scan() call in the golden-ratio branches (tomo_type 2/3), including a resume. That makes the first loop iteration look like a genuine sub-tomogram transition, firing the 0-deg reference shot before the actual resume angle even though the rotation isn't passing through 0 deg at that moment. Mirrors tomo_type 1's existing start_angle-is-None resume guard: suppress the shot only for the first, possibly-spurious transition right after a resume, then let later genuine transitions in the same call fire normally. Same fix applied to both lamni.py and flomni.py, which share byte-for-byte identical golden-ratio logic here. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>