Skip to content

feat: re-export galaxy_model_csv helpers under al.* - #526

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/cluster-csv-api
May 19, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/cluster-csv-api

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Companion PR to PyAutoLabs/PyAutoGalaxy#428. Re-exports the new named-galaxy CSV helpers under al.* so workspace scripts can use the canonical import autolens as al pattern.

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 corresponding autogalaxy.galaxy.galaxy_model_csv symbols. 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 via al.* and callable.
Full API Changes (for automation & release notes)

Added (re-exports only)

  • autolens.GalaxyModelRow — re-export of autogalaxy.GalaxyModelRow.
  • autolens.GalaxyModelTable — re-export of autogalaxy.GalaxyModelTable.
  • autolens.galaxy_models_from_csv — re-export of autogalaxy.galaxy_models_from_csv.
  • autolens.galaxy_models_to_csv — re-export of autogalaxy.galaxy_models_to_csv.
  • autolens.galaxies_from_csv_tables — re-export of autogalaxy.galaxies_from_csv_tables.
  • autolens.galaxy_af_models_from_csv_tables — re-export of autogalaxy.galaxy_af_models_from_csv_tables.

No new logic in PyAutoLens.

🤖 Generated with Claude Code

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>
@Jammy2211

Copy link
Copy Markdown
Collaborator Author

Workspace PR: PyAutoLabs/autolens_workspace#189

@Jammy2211
Jammy2211 merged commit 7608d30 into main May 19, 2026
6 of 8 checks passed
@Jammy2211
Jammy2211 deleted the feature/cluster-csv-api branch May 19, 2026 11:09
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant