Skip to content

Commit 3181c05

Browse files
authored
Merge pull request #5 from PyAutoLabs/feature/workspace-version-config-check
feat: embed workspace_version in config + drop welcome.py duplicate check
2 parents 43240a8 + b7e4b37 commit 3181c05

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

config/general.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,6 @@ test:
4848
check_likelihood_function: true # if True, when a search is resumed the likelihood of a previous sample is recalculated to ensure it is consistent with the previous run.
4949
lh_timeout_seconds: # If a float is input, the log_likelihood_function call is timed out after this many seconds, to diagnose infinite loops. Default is None, meaning no timeout.
5050
disable_positions_lh_inversion_check: true
51+
version:
52+
workspace_version: 2026.4.13.6 # Pinned by the release pipeline; must match the installed library version.
53+
workspace_version_check: True # If False, bypass the workspace/library version check. Set to False on `main`-branch clones — `main` updates faster than releases, so mismatches are expected and not actionable.

welcome.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
import autolens as al
2-
from autoconf import check_version
3-
4-
check_version(al.__version__)
52

63
input(
74
"########################################\n"

0 commit comments

Comments
 (0)