feat: bootstrap HowToGalaxy repo with tutorial content and CI#1
Merged
feat: bootstrap HowToGalaxy repo with tutorial content and CI#1
Conversation
Extracts the HowToGalaxy tutorial series from autogalaxy_workspace into its own dedicated repository, mirroring the HowToLens pattern. Contents ported from autogalaxy_workspace/howtogalaxy/: - scripts/ — chapter_1_introduction, chapter_2_modeling, chapter_3_search_chaining, chapter_4_pixelizations, chapter_optional, simulators (path prefix `howtogalaxy/` stripped) - notebooks/ — matching .ipynb versions (paths rewritten the same way) - config/ — full PyAutoGalaxy config tree (copied from autogalaxy_workspace/config/) Scaffolding derived from HowToLens (rewritten for PyAutoGalaxy): - .github/workflows/ — smoke_tests.yml (drops PyAutoLens install), url_check.yml - .github/scripts/run_smoke.py — verbatim from HowToLens - welcome.py — rewritten for `import autogalaxy as ag`, HowToGalaxy paths - start_here.py — rewritten for HowToGalaxy's chapter layout - README.rst, CLAUDE.md — HowToGalaxy-specific prose - version.txt — 2026.4.13.6 (matches autogalaxy_workspace release) - smoke_tests.txt — chapter-1 tutorials 1, 2, 4, 5 Smoke tests 0 and 3 are intentionally excluded with explanatory comments; tracked as a content-alignment follow-up. Closes PyAutoLabs/autogalaxy_workspace#35 (sub-task 1 of 3). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced Apr 21, 2026
Closed
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
Extracts the HowToGalaxy tutorial series from
autogalaxy_workspace/howtogalaxy/into its own dedicated repository atPyAutoLabs/HowToGalaxy, mirroring the HowToLens pattern.This is sub-task 1 of 3 in the HowToGalaxy extraction:
PyAutoLabs/HowToGalaxywith tutorial content + CI scaffoldinghowtogalaxy/out ofautogalaxy_workspace(separate PR)What's included
Tutorial content (ported from
autogalaxy_workspace/howtogalaxy/)scripts/— all 5 chapters plussimulators/:chapter_1_introduction/— grids, galaxies, data, fitting, methods, summarychapter_2_modeling/— non-linear search, galaxy modelingchapter_3_search_chaining/— search chaining, prior passing, pipelineschapter_4_pixelizations/— pixelized reconstructions, inversions, regularizationchapter_optional/— alternative non-linear searchessimulators/— simulator scripts that generate tutorial datasets at runtimenotebooks/— matching.ipynbversions (regenerated byPyAutoBuilddownstream)config/— full PyAutoGalaxy config tree (fromautogalaxy_workspace/config/)Path prefix
scripts/howtogalaxy/→scripts/(and same fornotebooks/) rewritten viasedacross all files.Scaffolding (derived from HowToLens, rewritten for PyAutoGalaxy)
.github/workflows/smoke_tests.yml— runs.github/scripts/run_smoke.pyagainstsmoke_tests.txt(without the PyAutoLens checkout/install step HowToLens has).github/workflows/url_check.yml— same link-checking workflow as HowToLens.github/scripts/run_smoke.py— verbatim from HowToLenswelcome.py— rewritten forimport autogalaxy as ag, HowToGalaxy working-directory checksstart_here.py— rewritten for HowToGalaxy's chapter layout (chapter_2_modeling, not chapter_2_lens_modeling)README.rst,CLAUDE.md— HowToGalaxy-specific (referencesPyAutoGalaxy,autogalaxy_workspace, and notes the PyAutoBuild target still needs adding)CITATIONS.rst— replaced with PyAutoGalaxy's versionCODE_OF_CONDUCT.md,CONTRIBUTING.md,runtime.txt,.gitignore,LICENSE— from HowToLensrequirements.txt—autogalaxy\nnumbaversion.txt—2026.4.13.6(matches the currentautogalaxy_workspacerelease; tagged in this PR)smoke_tests.txt— chapter-1 tutorials 1, 2, 4, 5Smoke test status (verified locally,
PYAUTO_TEST_MODE=2)tutorial_1_grids_and_galaxies.pytutorial_2_data.pytutorial_4_methods.pytutorial_5_summary.pyIntentionally excluded from
smoke_tests.txttutorial_0_visualization.py— inherits an upstream bug (usesPath(...)without importing) and referencesdataset/imaging/simple__sersicwith no auto-sim fallbacktutorial_3_fitting.py— auto-sim block callsscripts/imaging/simulator.py(does not exist in HowToGalaxy); a second dataset load fordataset/imaging/simplehas no auto-sim fallbackBoth are tracked as a content-alignment follow-up to this bootstrap PR.
Known follow-ups
howtogalaxytarget inPyAutoBuild/autobuild/config.yamlso notebooks regenerate automatically (same pattern as the HowToLens follow-up).smoke_tests.txt.Test plan
PYAUTO_TEST_MODE=2smoke_tests.ymlworkflow passes on this PRurl_check.ymlworkflow passes on this PRCloses PyAutoLabs/autogalaxy_workspace#35 (sub-task 1 of 3).
🤖 Generated with Claude Code