Skip to content

Commit

Permalink
rename func
Browse files Browse the repository at this point in the history
  • Loading branch information
geomarceau committed Nov 20, 2023
1 parent 8e941c7 commit 2611bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aphylogeo/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __new__(cls):
return cls._instance

@classmethod
def load_config_from_file(cls, params_file=os.path.join(os.path.dirname(__file__), "params.yaml")):
def load_from_file(cls, params_file=os.path.join(os.path.dirname(__file__), "params.yaml")):
"""
Method that loads the parameters from a yaml file.
Expand All @@ -55,7 +55,7 @@ def load_config_from_file(cls, params_file=os.path.join(os.path.dirname(__file__
cls.validate_and_set_params(params)

@classmethod
def update_config_from_dict(cls, params_content):
def update_from_dict(cls, params_content):
"""
Method that updates the parameters from a dictionary.
Expand Down

0 comments on commit 2611bf1

Please sign in to comment.