Skip to content

refactor: remove howtogalaxy tutorial dirs (now in PyAutoLabs/HowToGalaxy)#37

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/howtogalaxy-sub2
Apr 21, 2026
Merged

refactor: remove howtogalaxy tutorial dirs (now in PyAutoLabs/HowToGalaxy)#37
Jammy2211 merged 1 commit into
mainfrom
feature/howtogalaxy-sub2

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Sub-task 2 of 3 of the HowToGalaxy extraction (tracking issue: #36).

The HowToGalaxy tutorial series now lives in its own repository at
https://github.com/PyAutoLabs/HowToGalaxy, so this workspace no longer
needs to host it. Sub-task 1 (PyAutoLabs/HowToGalaxy#1) imported the
content there; this PR removes it from autogalaxy_workspace and
patches up the callers.

Changes

  • Delete scripts/howtogalaxy/ and notebooks/howtogalaxy/ (70 files).
  • Relocate the sersic simulator dependency to
    scripts/imaging/simulator_sersic.py (matches the existing
    simulator.py / simulator_sample.py naming) and rewrite all 9
    non-tutorial script callers plus their 9 notebook counterparts to
    invoke the new path via the auto-sim subprocess block.
  • Slim the HowToGalaxy sections of README.rst, start_here.py/.ipynb,
    CLAUDE.md, scripts/README.rst, notebooks/README.rst to a single
    external-repo pointer.
  • Rewrite 3 in-script prose references (imaging/modeling.py,
    interferometer/modeling.py, ellipse/modeling.py) plus their
    notebook equivalents.
  • Drop the howtogalaxy/-specific entries from
    config/build/env_vars.yaml and config/build/no_run.yaml.

Test plan

  • Smoke-tested scripts/imaging/features/shapelets/fit.py end-to-end
    (EXIT=0) — confirms the auto-sim block now invokes
    scripts/imaging/simulator_sersic.py and the downstream fit runs.
  • Smoke-tested scripts/guides/modeling/customize.py end-to-end
    (EXIT=0) — same.
  • CI on this PR.

Follow-up

Sub-task 3 of 3 (separate task): update the PyAutoGalaxy docs / README /
Colab URLs that still point at the old autogalaxy_workspace/howtogalaxy/
location.

Closes #36

🤖 Generated with Claude Code

…laxy)

Sub-task 2 of 3 of the HowToGalaxy extraction. The tutorial series now
lives in its own repository at https://github.com/PyAutoLabs/HowToGalaxy,
so this workspace no longer needs to host it.

- Delete scripts/howtogalaxy/ and notebooks/howtogalaxy/ (70 files).
- Relocate the sersic simulator dependency to
  scripts/imaging/simulator_sersic.py (matches sibling simulator.py,
  simulator_sample.py) and rewrite all 9 non-tutorial script callers plus
  their 9 notebook counterparts to invoke the new path via the auto-sim
  subprocess block.
- Slim the HowToGalaxy sections of README.rst, start_here.py / .ipynb,
  CLAUDE.md, scripts/README.rst, notebooks/README.rst down to a single
  external-repo pointer. Rewrite 3 in-script prose references
  (imaging/modeling.py, interferometer/modeling.py, ellipse/modeling.py)
  plus their notebook equivalents.
- Drop the howtogalaxy-specific entries from config/build/env_vars.yaml
  and config/build/no_run.yaml, since the scripts they referenced are
  gone.

Closes #36

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 5b8db48 into main Apr 21, 2026
1 check passed
@Jammy2211 Jammy2211 deleted the feature/howtogalaxy-sub2 branch April 21, 2026 15:21
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.

refactor: remove howtogalaxy tutorial dirs (now in PyAutoLabs/HowToGalaxy)

1 participant