From 0c85c50ee70cf0acf4a0466d051164968d781939 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Fri, 10 Apr 2026 20:43:06 +0100 Subject: [PATCH] refactor: drop PYAUTO_DISABLE_CRITICAL_CAUSTICS in favor of PYAUTO_FAST_PLOTS PyAutoGalaxy now routes its critical-curve/caustic overlay skip through PYAUTO_FAST_PLOTS, so the dedicated flag is retired here: removed from the default env_vars, the release.yml notebook job, and the CLAUDE.md env var reference (the PYAUTO_FAST_PLOTS bullet now documents both tight_layout and overlay skipping). Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 1 - CLAUDE.md | 3 +-- autobuild/config/env_vars.yaml | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21a2bcb..57b336f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -756,7 +756,6 @@ jobs: else export PYAUTOFIT_TEST_MODE=1 export PYAUTO_WORKSPACE_SMALL_DATASETS=1 - export PYAUTO_DISABLE_CRITICAL_CAUSTICS=1 export PYAUTO_FAST_PLOTS=1 fi export PYTHONPATH=$PYTHONPATH:$(pwd)/PyAutoBuild diff --git a/CLAUDE.md b/CLAUDE.md index 52ab257..6b3fd9d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -113,8 +113,7 @@ All scripts in `autobuild/` are run from within a checked-out workspace director - `BUILD_PYTHON_INTERPRETER` — Python interpreter to use for script execution (defaults to `python3`) - `PYAUTOFIT_TEST_MODE` — Set to `1` for workspace runs, `0` for `*_test` workspace runs - `PYAUTO_WORKSPACE_SMALL_DATASETS` — Set to `1` for workspace runs (caps grids to 15x15), not set for `*_test` runs -- `PYAUTO_DISABLE_CRITICAL_CAUSTICS` — Set to `1` for workspace runs (skips critical curve overlays), not set for `*_test` runs -- `PYAUTO_FAST_PLOTS` — Set to `1` for workspace runs (skips `tight_layout()` in subplots), not set for `*_test` runs +- `PYAUTO_FAST_PLOTS` — Set to `1` for workspace runs (skips `tight_layout()` in subplots and critical curve/caustic overlays in plots), not set for `*_test` runs - `JAX_ENABLE_X64` — Set to `True` during CI runs ### GitHub Actions Workflow diff --git a/autobuild/config/env_vars.yaml b/autobuild/config/env_vars.yaml index 86a550d..551dbce 100644 --- a/autobuild/config/env_vars.yaml +++ b/autobuild/config/env_vars.yaml @@ -10,7 +10,6 @@ defaults: PYAUTOFIT_TEST_MODE: "2" PYAUTO_WORKSPACE_SMALL_DATASETS: "1" - PYAUTO_DISABLE_CRITICAL_CAUSTICS: "1" PYAUTO_DISABLE_JAX: "1" PYAUTO_FAST_PLOTS: "1" JAX_ENABLE_X64: "True"