CI for csaxs_bec / test (push) Successful in 2m41s
omny_fermat_scan.py's corridor_size was Annotated[float] = 3, never updated to accept None the way flomni_fermat_scan.py's already does. But omny.py's tomo_scan_projection() calling code passes corridor_size=None whenever omny.corridor_size (a property defaulting to -1) hasn't been set to a positive value -- producing ScanInputValidationError: Invalid type for scan argument 'corridor_size': None is neither float or int. Ported flomni's fix directly: corridor_size is now Annotated[float | None] = None, capped at the new MAX_CORRIDOR_SIZE (3 um) class constant if a caller passes something larger, and prepare_scan() now calls the same _estimate_corridor_size() static method flomni uses (median nearest-neighbor distance * 1.5, capped at MAX_CORRIDOR_SIZE) to pick a sensible corridor size from the actual scan positions whenever corridor_size is None, instead of crashing. 2 new tests for _estimate_corridor_size() in test_omny_fermat_scan.py.