You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Enes Ak
committed
chore: Phase 2.8 grooming — couple CLI data_types to _DATATYPE_TO_PROFILE, reject inverted BED intervals, guard wgs+capture_bed at API level, drop unused fixture
Four fixes flagged by final cumulative review:
- CLI `valid_data_types` now derived from `_DATATYPE_TO_PROFILE.keys()`
to prevent future drift between CLI guard and API mapping.
- `load_capture_bed` raises `CaptureBedError` on inverted intervals
(start > end) rather than silently accepting rows that match zero
positions — quiet correctness failure prevented.
- `Annotator.__init__` raises `ValueError` on `data_type='wgs'` with
a `capture_bed` path, matching the CLI's existing rejection.
- Unused `sma_panel_bed_empty` fixture removed (YAGNI).
Two new tests cover Fix 2 and Fix 3. Test count 159 → 161.
0 commit comments