From 21ede0f3d75ea4c7b0aa4f26d59f7eda4b44f82b Mon Sep 17 00:00:00 2001 From: finlayclark Date: Mon, 10 Jun 2024 11:25:58 +0100 Subject: [PATCH] Correct scripts (use recursively_set_attr to set attrs) --- simulations/scripts/run_non_adaptive_cyclod_5ns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simulations/scripts/run_non_adaptive_cyclod_5ns.py b/simulations/scripts/run_non_adaptive_cyclod_5ns.py index fdb1c2a..2a67105 100644 --- a/simulations/scripts/run_non_adaptive_cyclod_5ns.py +++ b/simulations/scripts/run_non_adaptive_cyclod_5ns.py @@ -60,8 +60,8 @@ def main() -> None: calc.wait() # Analyse - calc.set_attr_values("_equilibrated", True) - calc.set_attr_values("_equil_time", 0) + calc.recursively_set_attr("_equilibrated", True) + calc.recursively_set_attr("_equil_time", 0) calc.analyse() calc.analyse_convergence() results_df = calc.get_results_df()