Files
csaxs_bec/tests
x01dcandClaude Sonnet 5 48b9f893ab
CI for csaxs_bec / test (push) Successful in 1m48s
fix(lamni,flomni): suppress spurious 0-deg damage-estimation shot on golden-ratio resume
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>
2026-07-31 12:43:30 +02:00
..
2026-07-29 14:48:35 +02:00
2026-06-24 12:55:32 +02:00