feat: re-export galaxy_table CSV helpers from autogalaxy#502
Merged
Conversation
Companion to PyAutoGalaxy#392. Adds explicit imports for GalaxyTable, galaxy_table_from_csv, and galaxy_table_to_csv so the new helpers are reachable as al.* (autolens does not auto-`*`-import from autogalaxy; each re-exported symbol must be listed individually). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Workspace PR: PyAutoLabs/autolens_workspace#143 |
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
Re-export the new
galaxy_tableCSV helpers from autogalaxy so they're reachable asal.galaxy_table_from_csv/al.galaxy_table_to_csv/al.GalaxyTable. Companion to PyAutoLabs/PyAutoGalaxy#392.PyAutoLens does not do
from autogalaxy import *-- every cross-library re-export is an explicitfrom autogalaxy.X import Yline inautolens/__init__.py. This PR adds three such lines so the new helpers don't require users toimport autogalaxyseparately.API Changes
Three new namespace exports on
autolens, all pointing at the autogalaxy implementations from PyAutoGalaxy#392:al.GalaxyTableal.galaxy_table_from_csval.galaxy_table_to_csvNo removals, no renames, no signature changes. See full details below.
Test Plan
python -c "import autolens as al; print(al.galaxy_table_from_csv)"resolves to the autogalaxy implementation.ag.galaxy_table_from_csv is al.galaxy_table_from_csv-- True (no duplication, both names point at the same function).Full API Changes (for automation & release notes)
Added
Top-level re-exports on the
autolensnamespace, all sourced fromautogalaxy.galaxy.galaxy_table:al.GalaxyTableal.galaxy_table_from_csval.galaxy_table_to_csvRemoved
None.
Renamed
None.
Changed Signature
None.
Changed Behaviour
None.
Migration
No migration needed -- purely additive.
🤖 Generated with Claude Code