Skip to content

Commit 46b6c58

Browse files
authored
Merge pull request #47 from PyAutoLabs/feature/no-run-config-purge
chore: remove 28 zero-match no_run entries and 5 dead env_vars overrides
2 parents 1b9609f + 3eaf95e commit 46b6c58

2 files changed

Lines changed: 23 additions & 48 deletions

File tree

config/build/env_vars.yaml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,18 @@ defaults:
2020
NUMBA_CACHE_DIR: "/tmp/numba_cache" # Writable cache dir for numba
2121
MPLCONFIGDIR: "/tmp/matplotlib" # Writable config dir for matplotlib
2222

23-
overrides:
24-
# start_here scripts load real FITS data that breaks with small datasets
25-
- pattern: "imaging/start_here"
26-
unset: [PYAUTO_SMALL_DATASETS]
27-
- pattern: "interferometer/start_here"
28-
unset: [PYAUTO_SMALL_DATASETS]
29-
- pattern: "group/start_here"
30-
unset: [PYAUTO_SMALL_DATASETS]
31-
- pattern: "multi/start_here"
32-
unset: [PYAUTO_SMALL_DATASETS]
33-
# (Removed the dead `howtolens/` + `guides/` PYAUTO_SMALL_DATASETS-unset
34-
# workarounds: they matched no files here, and the tutorials now use
35-
# `al.util.dataset.should_simulate` which deletes + re-simulates stale
36-
# data under the cap, so the chapters run correctly at 16x16.)
37-
# guides/results/start_here.py must produce real samples so the example
38-
# scripts that read from `output/results_folder` afterwards
39-
# (data_fitting, queries, models, samples_via_aggregator) find a
40-
# non-empty aggregator. Covers all scripts under guides/results/.
41-
- pattern: "guides/results/"
42-
unset: [PYAUTO_TEST_MODE, PYAUTO_SKIP_FIT_OUTPUT]
23+
# (Removed the dead `howtolens/` + `guides/` PYAUTO_SMALL_DATASETS-unset
24+
# workarounds: they matched no files here, and the tutorials now use
25+
# `al.util.dataset.should_simulate` which deletes + re-simulates stale
26+
# data under the cap, so the chapters run correctly at 16x16.)
27+
#
28+
# 2026-07-23: the remaining five overrides were removed for the same reason —
29+
# `imaging/start_here`, `interferometer/start_here`, `group/start_here`,
30+
# `multi/start_here` and `guides/results/` are all autolens_workspace paths
31+
# copied in from that repo's env_vars.yaml. HowToLens contains only
32+
# chapter_*/tutorial_*.py, so none of them ever matched a file here.
33+
# Do not copy override patterns between repos; a pattern that matches nothing
34+
# is silently inert, not an override. The list is now empty, and `overrides: []`
35+
# is written explicitly because env_config.py reads `.get("overrides", [])` —
36+
# a bare `overrides:` key would load as None and raise on iteration.
37+
overrides: []

config/build/no_run.yaml

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
# - Entries without '/' match the file stem exactly
55
# Add an inline # comment to document the reason for skipping.
66
#
7+
# THIS LIST IS REPO-LOCAL. Do not copy entries from autolens_workspace (or any
8+
# other repo) into it. HowToLens contains only chapter_*/tutorial_*.py, so a
9+
# workspace path such as `gui/mask` or `cluster/modeling` can never match here;
10+
# it is silently inert, not a skip. In July 2026 this file had accumulated 28
11+
# such entries against 2 real ones. Every entry below must match a file in THIS
12+
# repo — verify with `should_skip` in PyAutoHands/autobuild/build_util.py before
13+
# adding one.
14+
#
715
# SLOW-skip convention:
816
# Entries tagged `# SLOW <YYYY-MM-DD> - <reason>` mark scripts that are
917
# skipped because they exceed the per-script timeout cap (300s by
@@ -19,32 +27,4 @@
1927
# the NEEDS_FIX marker.
2028

2129
- tutorial_searches
22-
- guides/results/examples/samples # SLOW 2026-04-10 - exceeds 60s test timeout; unsets TEST_MODE for downstream examples
23-
- guides/results/examples/samples_via_aggregator # SLOW 2026-04-10 - exceeds 60s test timeout; unsets TEST_MODE for downstream examples
24-
- guides/results/examples/queries # SLOW 2026-04-10 - cascade from SLOW-skipped results/start_here.py; stub Model lacks sersic_index attribute
25-
- guides/results/database/start_here # SLOW 2026-04-10 - previously failed fast on a broken aggregator query; now runs the real aggregator and exceeds 60s
2630
- tutorial_5_borders # Cant get right masks, need proper update.
27-
- tutorial_6_model_fit # InversionException due to test mode
28-
- gui/extra_galaxies_centres # GUI scripts cannot be run
29-
- gui/mask_extra_galaxies # GUI scripts cannot be run
30-
- gui/lens_light_centre # GUI scripts cannot be run
31-
- gui/mask # GUI scripts cannot be run
32-
- gui/positions # GUI scripts cannot be run
33-
- deflections # Output HDU not supported for VectorYX Detections.
34-
- deflections_source_snr # Output HDU not supported for VectorYX Detections.
35-
- fits_make # Test mode does not output .fits images.
36-
- png_make # Test mode does not output .png images.
37-
- time_delays # Test mode does not support cosmology ift
38-
- hpc/example_cpu # HPC paths dont exist locally.
39-
- examples/searches # Test mode breaks search visualization.
40-
- data_fitting # Test mode breaks .fits file output
41-
- cluster/modeling # Cluster modeling is not maintained and test mode breaks it.
42-
- cluster/start_here # Cluster analysis is not maintained and test mode breaks it.
43-
- mass_stellar_dark/modeling # Requires CSE to be JAX enabled.
44-
- mass_stellar_dark/slam # Requires CSE to be JAX enabled.
45-
- shapelets/modeling # Issue with JAX, claude remind me about this when you next look at build.
46-
- detect/database # Unsure but not a feature actively used currently.
47-
- imaging/features/advanced/subhalo/sensitivity/ # All sensitivity scripts need updating when visualization refactored.
48-
- plot/visuals # Bugged, but visuals being refactored soon.
49-
- point_source/features/double_einstein_cross/simulator # PointSolver finds 0 positions on small grid
50-
- dataset/imaging/slacs1430+4105 # Dataset folder contains data.py helper, not a runnable script

0 commit comments

Comments
 (0)