Skip to content

docs: adapt-image cache is repaired on disk (PyAutoFit#1414) - #533

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/preserve-in-zip-replace-member
Jul 28, 2026
Merged

docs: adapt-image cache is repaired on disk (PyAutoFit#1414)#533
Jammy2211 merged 1 commit into
mainfrom
feature/preserve-in-zip-replace-member

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Docstring-only follow-up to PyAutoFit#1414 / PyAutoFit#1427.

galaxy_name_image_dict_via_result_from documented the stale-cache limitation as standing behaviour: the recomputed images were written to the loose files/ folder, but Paths.preserve_in_zip only added a member absent from the search's zip and never replaced one, so the next restore() re-extracted the stale copy and the search missed its cache on every run. PyAutoFit#1427 makes preserve_in_zip replace an outdated member, so a dataset change now costs one recompute rather than one per run. This updates the paragraph to the repaired behaviour.

Merge after PyAutoFit#1427 — the text describes that PR's behaviour.

API Changes

None — internal changes only (docstring).

Test Plan

  • pytest test_autogalaxy — 1009 passed
  • pytest test_autogalaxy/analysis/test_adapt_images.py — 8 passed

Generated by the PyAutoLabs agent workflow.

`galaxy_name_image_dict_via_result_from` documented the stale-cache
limitation as standing behaviour: the recomputed images were written to
the loose `files/` folder but never reached the search's zip, so the
next `restore()` re-extracted the stale copy. PyAutoFit#1414 makes
`Paths.preserve_in_zip` replace an outdated member, so a dataset change
costs one recompute rather than one per run.
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Jul 28, 2026
@Jammy2211
Jammy2211 merged commit cd6366e into main Jul 28, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/preserve-in-zip-replace-member branch July 28, 2026 15:33
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