From eafbcea1a9afb2a099903af8a80b7bfa49552bdd Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Sun, 12 Apr 2026 12:14:50 +0100 Subject: [PATCH] refactor: drop PYAUTO_DISABLE_CRITICAL_CAUSTICS in favor of PYAUTO_FAST_PLOTS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The retired env var is now a no-op — PYAUTO_FAST_PLOTS=1 handles both tight_layout skipping and critical curve/caustic overlay skipping. Co-Authored-By: Claude Opus 4.6 --- config/build/env_vars.yaml | 3 +-- run_scripts.sh | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config/build/env_vars.yaml b/config/build/env_vars.yaml index 1facc2bc..a1549354 100644 --- a/config/build/env_vars.yaml +++ b/config/build/env_vars.yaml @@ -11,9 +11,8 @@ defaults: PYAUTOFIT_TEST_MODE: "2" # 0=normal, 1=reduced iterations, 2=skip sampler (fastest) PYAUTO_WORKSPACE_SMALL_DATASETS: "1" # Cap grids/masks to 15x15, reduce MGE gaussians - PYAUTO_DISABLE_CRITICAL_CAUSTICS: "1" # Skip critical curve/caustic overlays in plots PYAUTO_DISABLE_JAX: "1" # Force use_jax=False, avoid JIT compilation overhead - PYAUTO_FAST_PLOTS: "1" # Skip tight_layout() in subplots + PYAUTO_FAST_PLOTS: "1" # Skip tight_layout() + critical curve/caustic overlays JAX_ENABLE_X64: "True" # Enable 64-bit precision in JAX NUMBA_CACHE_DIR: "/tmp/numba_cache" # Writable cache dir for numba MPLCONFIGDIR: "/tmp/matplotlib" # Writable config dir for matplotlib diff --git a/run_scripts.sh b/run_scripts.sh index 5deb5c50..b7618986 100644 --- a/run_scripts.sh +++ b/run_scripts.sh @@ -14,7 +14,6 @@ PROJECT_KEY="autofit" export PYAUTOFIT_TEST_MODE=1 export PYAUTO_WORKSPACE_SMALL_DATASETS=1 -export PYAUTO_DISABLE_CRITICAL_CAUSTICS=1 export PYAUTO_FAST_PLOTS=1 # ---------------------------------------------------------------------------