Skip to content

chore(config): remove orphan config keys; rely on PyAutoGalaxy default Delaunay/dPIE config (PyAutoMind#441) - #578

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/workspace-config-cleanup
Sep 30, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/workspace-config-cleanup

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Remove workspace config keys that no library reads, as flagged by the PyAutoNerves config board: dead hpc.* live-update toggles, removed-parameter notation (contribution_factor, sigma_scale, Hyper*), the unused subplot_shape table and the top-level subplot_shape_to_figsize_factor (identical to the PyAutoArray mat_plot.figure default (6, 6)). Also drops the 5 keys that PyAutoGalaxy#630 promotes into library defaults — dPIE ra/rs notation (label + format) and Delaunay.areas_factor (Constant 0.5), so config/priors/mesh/delaunay.yaml is deleted. Cookbook and plot-guide prose updated to match; notebooks regenerated from the scripts.

Do not merge until PyAutoGalaxy#630 is merged AND released to PyPI. This workspace relies on the new PyAutoGalaxy default config for Delaunay.areas_factor and dPIE ra/rs notation; against a released PyAutoGalaxy without #630, areas_factor would be an unconfigured (missing) prior.

Scripts Changed

  • scripts/guides/modeling/cookbook.py — "missing parameter" prose now says the Delaunay areas_factor comes from the library's default priors (plus any workspace overrides), not the workspace config/priors
  • scripts/guides/plot/start_here.py — config-key list now names mat_plot -> figure -> subplot_shape_to_figsize_factor
  • notebooks/guides/modeling/cookbook.ipynb, notebooks/guides/plot/start_here.ipynb — regenerated from the scripts (not hand-edited)
  • Config: config/general.yaml, config/notation.yaml, config/priors/mesh/delaunay.yaml (deleted), config/visualize/general.yaml

Upstream PR

Readiness

Heart YELLOW (85), explicitly acknowledged by the human for this ship. Reasons:

  • manifest drift: hub organism blurb (organs present) — 7 mismatches
  • manifest drift: organism-map blocks (generated) — 1 mismatch
  • manifest drift: workspace checkouts (manifest ↔ disk) — 1 mismatch
  • release validation stale: source moved since rehearsal (PyAutoFit, PyAutoArray, PyAutoGalaxy, PyAutoLens)

Merge order (library-first)

PyAutoGalaxy#630 → PyAutoLens#751; PyAutoNerves#176 any time. Workspace PRs merge only after the library PRs are merged.
Release gate: this PR additionally waits for a PyPI release containing PyAutoGalaxy#630.

Test Plan

  • pyauto-heart smoke --root <worktree> autolens_workspace: 43/43 pass (against the PyAutoGalaxy#630 / PyAutoLens#751 library worktrees)
  • Nerves board against the worktree: 0 orphan keys
  • Notebooks regenerated via the PyAutoHands generator's per-script path; output byte-identical to the committed notebooks, no local paths
  • Re-check after PyAutoGalaxy#630 is released

Part of PyAutoLabs/PyAutoMind#441

🤖 Generated with Claude Code

…(PyAutoMind#441)

Delete workspace config keys that no library reads (dead hpc.* update
toggles, preload checks, removed-param notation, unused subplot tables),
fix malformed keys, and drop keys now promoted into library defaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant