Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Changed from "_features" to "_feature" before it gets too late to change it
  • Loading branch information
daminton committed Nov 8, 2022
1 parent ccb405f commit 2ac1e39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/swiftest/swiftest/simulation_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 2ac1e39

Please sign in to comment.