feat: re-export galaxy_model_csv helpers under al.*#526
Merged
Conversation
Re-exports the new PyAutoGalaxy helpers — galaxy_models_from_csv, galaxy_models_to_csv, galaxies_from_csv_tables, galaxy_af_models_from_csv_tables, plus GalaxyModelRow / GalaxyModelTable — under the canonical `al.*` namespace alongside the existing galaxy_table_* re-exports. Workspace scripts can use the canonical `import autolens as al` pattern for the new CSV API. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 19, 2026
Collaborator
Author
|
Workspace PR: PyAutoLabs/autolens_workspace#189 |
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
Companion PR to PyAutoLabs/PyAutoGalaxy#428. Re-exports the new named-galaxy CSV helpers under
al.*so workspace scripts can use the canonicalimport autolens as alpattern.Depends on the PyAutoGalaxy PR landing first.
API Changes
Six new re-exports:
al.GalaxyModelRow,al.GalaxyModelTable,al.galaxy_models_from_csv,al.galaxy_models_to_csv,al.galaxies_from_csv_tables,al.galaxy_af_models_from_csv_tables. All point to the correspondingautogalaxy.galaxy.galaxy_model_csvsymbols. See the upstream PyAutoGalaxy PR for the helper docs.See full details below.
Test Plan
pytest test_autolens/test_csv_reexports.py— sanity test that confirms each new symbol is reachable viaal.*and callable.Full API Changes (for automation & release notes)
Added (re-exports only)
autolens.GalaxyModelRow— re-export ofautogalaxy.GalaxyModelRow.autolens.GalaxyModelTable— re-export ofautogalaxy.GalaxyModelTable.autolens.galaxy_models_from_csv— re-export ofautogalaxy.galaxy_models_from_csv.autolens.galaxy_models_to_csv— re-export ofautogalaxy.galaxy_models_to_csv.autolens.galaxies_from_csv_tables— re-export ofautogalaxy.galaxies_from_csv_tables.autolens.galaxy_af_models_from_csv_tables— re-export ofautogalaxy.galaxy_af_models_from_csv_tables.No new logic in PyAutoLens.
🤖 Generated with Claude Code