refactor: use PYAUTO_SKIP_CHECKS and PYAUTO_SKIP_VISUALIZATION#432
Merged
refactor: use PYAUTO_SKIP_CHECKS and PYAUTO_SKIP_VISUALIZATION#432
Conversation
Split the catch-all PYAUTOFIT_TEST_MODE into purpose-specific variables: - PYAUTO_TEST_MODE (sampler speedup, levels 0-3) - PYAUTO_SKIP_FIT_OUTPUT (pre/post-fit I/O, VRAM, result text) - PYAUTO_SKIP_VISUALIZATION (fit visualization and plotting) - PYAUTO_SKIP_CHECKS (mesh validation, position resampling, weight thresholds) Also renames: - PYAUTOARRAY_OUTPUT_MODE -> PYAUTO_OUTPUT_MODE - PYAUTO_WORKSPACE_SMALL_DATASETS -> PYAUTO_SMALL_DATASETS Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Apr 12, 2026
Open
Collaborator
Author
|
Workspace PR: PyAutoLabs/autolens_workspace#51 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switch position resampling and inversion position checks from
is_test_mode()toskip_checks(), and quantity visualizer fromis_test_mode()toskip_visualization().Depends on: PyAutoLabs/PyAutoConf#86, PyAutoLabs/PyAutoGalaxy#343
API Changes
No env var renames — behaviour changes only. Position resampling and inversion checks now controlled by
PYAUTO_SKIP_CHECKS. Quantity visualization controlled byPYAUTO_SKIP_VISUALIZATION. See full details below.Test Plan
Full API Changes (for automation & release notes)
Changed Behaviour
resample_positions_pdf_from()now checksskip_checks()instead ofis_test_mode()AnalysisDataset.__init__inversion position exception now checksskip_checks()instead ofis_test_mode()VisualizerQuantity.visualize()now checksskip_visualization()instead ofis_test_mode()Migration
export PYAUTOFIT_TEST_MODE=1disabled positions + visualizationexport PYAUTO_SKIP_CHECKS=1for positions,export PYAUTO_SKIP_VISUALIZATION=1for visualization🤖 Generated with Claude Code