Skip to content

feat: re-export galaxy_table CSV helpers from autogalaxy#502

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/scaling-relation-csv-loader
May 10, 2026
Merged

feat: re-export galaxy_table CSV helpers from autogalaxy#502
Jammy2211 merged 1 commit into
mainfrom
feature/scaling-relation-csv-loader

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Re-export the new galaxy_table CSV helpers from autogalaxy so they're reachable as al.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 explicit from autogalaxy.X import Y line in autolens/__init__.py. This PR adds three such lines so the new helpers don't require users to import autogalaxy separately.

API Changes

Three new namespace exports on autolens, all pointing at the autogalaxy implementations from PyAutoGalaxy#392:

  • al.GalaxyTable
  • al.galaxy_table_from_csv
  • al.galaxy_table_to_csv

No 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 autolens namespace, all sourced from autogalaxy.galaxy.galaxy_table:

  • al.GalaxyTable
  • al.galaxy_table_from_csv
  • al.galaxy_table_to_csv

Removed

None.

Renamed

None.

Changed Signature

None.

Changed Behaviour

None.

Migration

No migration needed -- purely additive.

🤖 Generated with Claude Code

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>
@Jammy2211
Copy link
Copy Markdown
Collaborator Author

Workspace PR: PyAutoLabs/autolens_workspace#143

@Jammy2211 Jammy2211 merged commit eb95907 into main May 10, 2026
3 of 5 checks passed
@Jammy2211 Jammy2211 deleted the feature/scaling-relation-csv-loader branch May 10, 2026 18:10
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