fix(config): silence autogalaxy cross-library latent warning - #19
Merged
Conversation
PyAutoLabs/PyAutoGalaxy#463 adds total_galaxy_0_flux: true to the autogalaxy library defaults. autoconf merges the autogalaxy and autolens latent.yamls into a single 'latent' conf node, so the autolens dispatcher sees a key it doesn't know and logs a warning on every fit evaluation. Add explicit total_galaxy_0_flux: false to silence the warning. The pipeline's muJy latents above remain the canonical photometric output; this is purely a log-noise fix. Refs PyAutoLabs/PyAutoLens#556
This was referenced May 28, 2026
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
PyAutoLabs/PyAutoGalaxy#463 adds
total_galaxy_0_flux: trueto the autogalaxy library defaults. autoconf merges the autogalaxy and autolenslatent.yamlfiles into the samelatentconf node, so the autolens dispatcher sees a key it doesn't recognise and logs an "unknown latent" warning on every fit evaluation — noisy on the long-running HPC fits that originally surfaced the bug fixed in #556.This PR adds one explicit override line to the pipeline's
config/latent.yamlto silence the warning. The pipeline's existing_mujy: truekeys remain the canonical photometric output.Scripts Changed
config/latent.yaml— Addtotal_galaxy_0_flux: falsewith a comment explaining the cross-library autoconf merge that motivates it.Upstream PR
Test Plan
python -m py_compilen/a (yaml-only).autolens_workspace_testsmoke test re-run: with the autogalaxy default-on key explicitly silenced, nolatent.yaml lists 'total_galaxy_0_flux' but no such latent is registeredwarnings fire.Refs PyAutoLabs/PyAutoLens#556
🤖 Generated with Claude Code