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
Jammy2211
authored and
Jammy2211
committed
refactor(point): delegate CSV I/O to autoconf.csvable
`autolens.point.dataset` no longer opens files or drives
`csv.DictReader`/`DictWriter` directly — the generic file-level layer
now lives in `autoconf.csvable`. This module keeps only the
PointDataset-specific schema logic: required `name, y, x,
positions_noise` columns, optional flux/time_delay blocks, group-by-
name, and the all-or-nothing per-group validation.
No changes to the public surface: `output_to_csv`, `list_from_csv`,
`PointDataset.to_csv`, and `PointDataset.from_csv` all behave
identically, and the `al.output_to_csv` / `al.list_from_csv`
re-exports still resolve here.
The existing six round-trip / multi-group tests in
`test_autolens/point/test_dataset.py` pass unchanged.
0 commit comments