From 94dbf67b34614ae0ef467070974b8450c2ac9c52 Mon Sep 17 00:00:00 2001 From: Tobey Carman Date: Tue, 3 Feb 2026 08:41:09 -0900 Subject: [PATCH] Adjust path to scripts and other tools for newer dvmdostem version. --- src/batch_processing/cmd/base.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/batch_processing/cmd/base.py b/src/batch_processing/cmd/base.py index bd6f2a5..25cc2df 100644 --- a/src/batch_processing/cmd/base.py +++ b/src/batch_processing/cmd/base.py @@ -30,7 +30,10 @@ def __init__(self, basedir: str = None): basedir = get_basedir_from_config() self.dvmdostem_path = Path(basedir) / DVMDOSTEM_FOLDER self.dvmdostem_bin_path = f"{self.dvmdostem_path}/dvmdostem" - self.dvmdostem_scripts_path = f"{self.dvmdostem_path}/scripts/" + + # For versions of dvmdostem >= v0.8.3-85-g465d6165 + # Previous versions had the scripts folder in a different location. + self.dvmdostem_scripts_path = f"{self.dvmdostem_path}/pyddt/src/pyddt/" # You might notice that the only variable which has a trailing # slash is in the below one. config.js file has it this way.