From 2ac1e39d5a4fd012f381c50fecd27387f4369c2f Mon Sep 17 00:00:00 2001 From: David Minton Date: Tue, 8 Nov 2022 15:00:25 -0500 Subject: [PATCH] Changed from "_features" to "_feature" before it gets too late to change it --- python/swiftest/swiftest/simulation_class.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/swiftest/swiftest/simulation_class.py b/python/swiftest/swiftest/simulation_class.py index f95e8b426..622e36fe2 100644 --- a/python/swiftest/swiftest/simulation_class.py +++ b/python/swiftest/swiftest/simulation_class.py @@ -220,7 +220,7 @@ def __init__(self, output_file_name=output_file_name, output_format=output_format) - self.set_features(close_encounter_check=close_encounter_check, + self.set_feature(close_encounter_check=close_encounter_check, general_relativity=general_relativity, fragmentation=fragmentation, rotation=rotation, @@ -247,7 +247,7 @@ def __init__(self, print(f"BIN_OUT file {binpath} not found.") return - def set_features(self, + def set_feature(self, close_encounter_check: bool | None = None, general_relativity: bool | None = None, fragmentation: bool | None = None, @@ -340,11 +340,11 @@ def set_features(self, verbose = self.verbose if verbose: if len(update_list) > 0: - feature_dict = self.get_features(update_list) + feature_dict = self.get_feature(update_list) return - def get_features(self,feature: str | List[str] | None = None): + def get_feature(self,feature: str | List[str] | None = None): """ Returns a subset of the parameter dictionary containing the current value of the feature boolean values.