Repository navigation
fix: search kwarg typos in Emcee/Zeus; drop Drawer NullPaths workaround - #112
Merged
Merged
Conversation
auto_correlations_settings -> auto_correlation_settings. Drawer now runs with NullPaths, which the released timer guard supports. Refs PyAutoLabs/PyAutoFit#1693 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
3 of 6 tasks
…c.py Refs PyAutoLabs/PyAutoFit#1693 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/searches/Emcee.py,Zeus.py:auto_correlations_settings=→auto_correlation_settings=. The old spelling was silently ignored, and since A0b (refactor: search hygiene and dead code (search-extensibility A0b) PyAutoFit#1672, released) it logs an unknown-keyword WARNING. The values match the defaults, so results don't change.scripts/searches/DynestyDynamic.py:nlive=50→nlive_init=50;DynestyDynamictakesnlive_init, sonlivewas ignored. Outside test mode both fits now really use 50 initial live points instead of the 500 default (faster, less accurate full runs).scripts/searches/Drawer.py: removed the workaround that ran Drawer withname/path_prefixbecause_fitreadself.timer.timeunder NullPaths, and its comment. Released autofit guards this (self.timer.time if self.timer else None), so Drawer now runs with NullPaths like the BFGS/SMC scripts.Scripts Changed
scripts/searches/Emcee.py—auto_correlation_settingsspellingscripts/searches/Zeus.py—auto_correlation_settingsspellingscripts/searches/Drawer.py— NullPaths workaround and its comment removedscripts/searches/DynestyDynamic.py—nlive=50→nlive_init=50, in bothDynestyDynamiccalls (found in review)Upstream PR
PyAutoLabs/PyAutoFit#1695 — library-first: merge that one before this PR.
Test Plan
Witness,
PYAUTO_TEST_MODE=1against released autofit 2026.10.12.1 (and again against the PyAutoFit main source):searches/Emcee.py— before:Emcee received the unknown keyword argument 'auto_correlations_settings'; after: exit 0, unknown-keyword warnings: 0searches/Zeus.py— before:Zeus received the unknown keyword argument 'auto_correlations_settings'; after: exit 0, unknown-keyword warnings: 0searches/Drawer.py(NullPaths) — exit 0, unknown-keyword warnings: 0,Number of samples: 50, all assertions passsearches/DynestyDynamic.py— before:DynestyDynamic received the unknown keyword argument 'nlive'(×2); after: exit 0, unknown-keyword warnings: 0Validation checklist (--auto run — plan was not pre-approved)
smoke_tests.txt, passes, and so do Zeus/Drawer/DynestyDynamic (run on demand) · review: one independent Opus round — in-scope diff correct; its finding (DynestyDynamic.pynlive) was fixed in this PR under a scope extension from the coordinator; the second short Opus round on that diff: CLEAN · Heart RED under the development-only override belowHeart RED — development-only override (quoted from #1693)
🤖 Generated with Claude Code