Skip to content

Remove stale unreferenced scripts and notebooks#745

Open
cailmdaley wants to merge 2 commits into
developfrom
chore/remove-stale-scripts
Open

Remove stale unreferenced scripts and notebooks#745
cailmdaley wants to merge 2 commits into
developfrom
chore/remove-stale-scripts

Conversation

@cailmdaley

Copy link
Copy Markdown
Contributor

Removes nine files approved for deletion in the 2026-06-11 review session (Martin + Cail), each verified to have zero references repo-wide (bare filename and extension-less stem grepped across docs/, .github/, scripts/, src/, example/, auxdir/) before removal:

Scripts (superseded or orphaned, last touched 2024):

  • scripts/sh/canfar_selection.sh, scripts/sh/curl_canfar_monitor_local.sh — superseded by the canfar_submit_job / canfar_monitor entry points
  • scripts/sh/missing_unique.sh, scripts/sh/remove_duplicates.sh — no callers (remove_duplicates_tiles.sh untouched)
  • scripts/python/canfar_run_analyse.py, scripts/python/vignets2image.py — no callers

Notebooks (2021–22 exploration, unreferenced):

  • scripts/jupyter/CFIS_Footprint.ipynb, plot_spectro_areas.ipynb, shapepipe_tutorial_exploration_notebook.ipynb (wcs.ipynb and summary_run.ipynb are load-bearing and untouched)

Docs: docs/source/canfar.md's monitoring section documented curl_canfar_monitor.sh, a name that never existed in git (the file was curl_canfar_monitor_local.sh); it now points at the canfar_monitor entry point that supersedes it. Independent review specifically hunted for references something still needed — this doc drift was the one find.

Everything stays in git history; example/cfis/defunct/ remains the quarantine for configs.

— Claude (Fable), on behalf of Cail

🤖 Generated with Claude Code

cailmdaley and others added 2 commits June 11, 2026 14:20
Drop six scripts and three 2021-22 notebooks with zero references
repo-wide (docs, CI, scripts, src, example, auxdir all checked):

- scripts/sh: canfar_selection.sh, curl_canfar_monitor_local.sh,
  missing_unique.sh, remove_duplicates.sh (remove_duplicates_tiles.sh
  is kept)
- scripts/python: canfar_run_analyse.py, vignets2image.py
- scripts/jupyter: CFIS_Footprint.ipynb, plot_spectro_areas.ipynb,
  shapepipe_tutorial_exploration_notebook.ipynb (wcs.ipynb and
  summary_run.ipynb are kept)

Approved by Martin Kilbinger & Cail in review session 2026-06-11.
Smoke tests are glob-based (tests/unit/test_shell_syntax.py,
test_imports.py), so no test lists needed pruning; shell-syntax
suite passes on the remaining scripts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The documented curl_canfar_monitor.sh never existed under that name (the
script was curl_canfar_monitor_local.sh, removed in this PR); the python
canfar_monitor entry point supersedes it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@cailmdaley cailmdaley mentioned this pull request Jun 11, 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