Skip to content

Commit

Permalink
Correct scripts (use recursively_set_attr to set attrs)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjclark committed Jun 10, 2024
1 parent aa105ca commit 26da0ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions simulations/scripts/run_non_adaptive_200ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def main() -> None:
calc.setup()
calc.run(adaptive=False, runtime=0.2)
calc.wait()
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()
Expand Down
4 changes: 2 additions & 2 deletions simulations/scripts/run_non_adaptive_30ns.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def main() -> None:
calc.setup()
calc.run(adaptive=False, runtime=30)
calc.wait()
calc.set_attr_values("_equilibrated", True)
calc.set_attr_values("_equil_time", 10)
calc.recursively_set_attr("_equilibrated", True)
calc.recursively_set_attr("_equil_time", 10)
calc.analyse()
calc.analyse_convergence()
results_df = calc.get_results_df()
Expand Down

0 comments on commit 26da0ab

Please sign in to comment.