From f1eab7c9bf20b08e07af52be05d4454fefd777cc Mon Sep 17 00:00:00 2001 From: David A Minton Date: Wed, 8 Mar 2023 09:46:30 -0500 Subject: [PATCH] Upper cased the interaction_loops and encounter_check_loops argument values so that the user doesn't have to --- python/swiftest/swiftest/simulation_class.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/swiftest/swiftest/simulation_class.py b/python/swiftest/swiftest/simulation_class.py index c6342fa6a..991758441 100644 --- a/python/swiftest/swiftest/simulation_class.py +++ b/python/swiftest/swiftest/simulation_class.py @@ -1231,6 +1231,7 @@ def set_feature(self, if interaction_loops is not None: valid_vals = ["TRIANGULAR", "FLAT"] + interaction_loops = interaction_loops.upper() if interaction_loops not in valid_vals: msg = f"{interaction_loops} is not a valid option for interaction loops." msg += f"\nMust be one of {valid_vals}" @@ -1243,6 +1244,7 @@ def set_feature(self, if encounter_check_loops is not None: valid_vals = ["TRIANGULAR", "SORTSWEEP"] + encounter_check_loops = encounter_check_loops.upper() if encounter_check_loops not in valid_vals: msg = f"{encounter_check_loops} is not a valid option for interaction loops." msg += f"\nMust be one of {valid_vals}"