Skip to content

Repository files navigation

PyAutoFit Workspace Test

Welcome to the PyAutoFit test workspace.

This workspace mirrors the autolens_workspace but runs the example scripts and pipelines fast, by skipping the non-linear search. It is used by PyAutoFit developers to perform automated integration tests of example scripts.

To run the pipelines in this project you must add the autolens_workspace_test directory to your PYTHONPATH:

export PYTHONPATH=$PYTHONPATH:/mnt/c/Users/Jammy/Code/PyAutoLabs/autolens_workspace_test

You can run an integration test as follows:

python slam/imaging/no_lens_light/source_lp/mass_total/no_hyper.py

Workspace Version

These scripts track PyAutoFit main and the latest PyAutoFit release — they are run by CI against both, so no exact version is pinned here. A named pin in this README was owned by nobody after the release runner stopped bumping it, and went ~2 months stale; the user-facing workspaces carry the authoritative compatibility floor instead (version.minimum_library_version in their config/general.yaml).

Build Configuration

The config/ directory contains two files used by the automated build and test system (CI, smoke tests, and pre-release checks). These are not relevant to normal workspace usage.

  • config/build/no_run.yaml — scripts to skip during automated runs. Each entry is a filename stem or path pattern with an inline comment explaining why it is skipped.
  • config/build/profile_smoke.yaml — environment variables applied to each script during automated runs. Defines default values (e.g. test mode, small datasets) and per-script overrides for scripts that need different settings.

About

PyAutoFit integration and profiling tests

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages