Skip to content

Remove dead scripts and fix stale doc paths - #352

Merged
cailmdaley merged 1 commit into
developfrom
chore/remove-dead-scripts
Sep 25, 2026
Merged

cailmdaley merged 1 commit into
developfrom
chore/remove-dead-scripts

Conversation

@cailmdaley

Copy link
Copy Markdown
Collaborator

Deletes dead code and fixes docs that are wrong on develop. This is the non-SACC cleanup from #251, split out so #251's diff shrinks once this merges.

  • Dead code: workflow/scripts/run_2pcf_highres.py, plus the commented-out xi_highres block in twopoint.smk that was its only reference. Also papers/bmodes/scripts/run_cov_sweep.sh, which calls a run_cosmocov_chain.sh that no longer exists.
  • Docs:
    • The single-test examples use test_cosmo_val.py.
    • CLAUDE.md's cosmo_inference section gives the Snakemake inference_fiducial call instead of a pipeline.sh that doesn't exist.
    • ecut_spec.md and update_survey_stats.py point to paths under papers/bmodes/.
    • The README badge and install docs say Python 3.12, matching requires-python.
  • Paper Snakefiles read cat_config.yaml via code/ instead of the deprecated pure_eb symlink (same file).

Dry-runs of the bmodes and cosmo_val workflows plan the same jobs as on develop.

— Claude (Opus) on behalf of Cail.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HeMhD6yCyrgBz5oz87bCtR

Deletes code with no live caller:
- workflow/scripts/run_2pcf_highres.py and the parked, unrunnable
  xi_highres block in workflow/rules/twopoint.smk that was its only
  reference; the mpi4py comment in pyproject.toml no longer names it.
- papers/bmodes/scripts/run_cov_sweep.sh, which calls
  workflow/scripts/run_cosmocov_chain.sh, absent from develop.

Fixes docs that point at paths or tools that do not exist:
- CLAUDE.md, CONTRIBUTING.md: single-test example uses test_cosmo_val.py.
- CLAUDE.md: cosmo_inference runs through Snakemake (inference_fiducial),
  not a pipeline.sh driver.
- papers/{bmodes,cosmo_val}/Snakefile: read cat_config through code/
  rather than the deprecated pure_eb symlink.
- ecut_spec.md, update_survey_stats.py: paths under papers/bmodes/.
- README badge and installation docs: Python 3.12 floor, matching
  requires-python.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HeMhD6yCyrgBz5oz87bCtR
@cailmdaley
cailmdaley merged commit 26b0079 into develop Sep 25, 2026
3 checks passed
cailmdaley added a commit that referenced this pull request Sep 25, 2026
…val-sacc

Brings in #351 (b_modes arrays API + get_theo_xi unpack) and #352 (dead
scripts, doc paths). b_modes.py and test_b_modes.py resolve to develop's
side, which is this branch's version plus the unpack fix and its test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HeMhD6yCyrgBz5oz87bCtR
@cailmdaley
cailmdaley deleted the chore/remove-dead-scripts branch September 25, 2026 13:40
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