Skip to content

chore: delete the defunct config/grids.yaml - #36

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/defunct-grids-yaml-removal
Jul 23, 2026
Merged

chore: delete the defunct config/grids.yaml#36
Jammy2211 merged 1 commit into
mainfrom
feature/defunct-grids-yaml-removal

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Deletes config/grids.yaml. Its radial_minimum: mapping has not been read by any code since PyAutoGalaxy 025ac7ac "remove relocate_to_radial_minimum" (2025-10-15), which followed 82622f74 "remove grid relocate radial" (2025-04-03). The library default configs (autoarray/config/, autogalaxy/config/) no longer ship a grids.yaml at all — only downstream copies survived, in 10 repos. This is part of a sweep removing all of them.

Evidence gathered before deleting:

  • radial_minimumzero .py hits across PyAutoArray, PyAutoGalaxy, PyAutoLens, PyAutoCTI, PyAutoNerves.
  • radial_minimumzero hits anywhere in the installed venv.
  • No code reads a "grids" config section; the only "grids" hits are dataset.grids attribute lookups in autoarray/dataset/plot/imaging_plots.py.

Scripts Changed

None — this PR deletes one config file and touches no scripts/ or notebooks/.

  • config/grids.yaml — deleted (unread since 2025-10-15)

Test Plan

  • config/ loads with grids.yaml absent — Isothermal.deflections_yx_2d_from and Sersic.image_2d_from return all-finite values on Grid2D.uniform(shape_native=(20, 20), pixel_scales=0.1)
  • The case radial_minimum used to guard — a coordinate at exactly (0.0, 0.0) — returns [0.0, 0.0] with no NaN, confirming the guard now lives in code rather than config
  • Grep sweep across all 12 affected repos for grids.yaml / radial_minimum / radiac_minimum: zero hits
  • Smoke tests pass for all affected workspaces

Closes part of PyAutoLabs/autolens_workspace#317.

Generated by the PyAutoLabs agent workflow.

The radial_minimum mapping in config/grids.yaml has not been read by any code
since PyAutoGalaxy 025ac7ac "remove relocate_to_radial_minimum" (2025-10-15),
which followed 82622f74 "remove grid relocate radial" (2025-04-03). The library
default configs no longer ship a grids.yaml at all; only these downstream copies
survived.

Verified: zero .py hits for radial_minimum across PyAutoArray, PyAutoGalaxy,
PyAutoLens, PyAutoCTI and PyAutoNerves, and zero hits in the installed venv.
Profiles still evaluate finitely at exactly (0.0, 0.0) - the case the config
used to guard is handled in code.

Issue: PyAutoLabs/autolens_workspace#317

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGnmAUuQwTSCnp8U5dD3ee
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 23, 2026
@Jammy2211
Jammy2211 merged commit e720428 into main Jul 23, 2026
10 checks passed
@Jammy2211
Jammy2211 deleted the feature/defunct-grids-yaml-removal branch July 23, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant