Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 22, 2025
1 parent 7b06262 commit 247314d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/nanosaur/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ def save(self):

@staticmethod
def get_params_file() -> str:
return os.path.join(get_nanosaur_home(), NANOSAUR_CONFIG_FILE_NAME)
nanosaur_config_file_name = os.getenv('NANOSAUR_CONFIG_FILE', NANOSAUR_CONFIG_FILE_NAME)
return os.path.join(get_nanosaur_home(), nanosaur_config_file_name)

def get(self, key, default=None):
return getattr(self, key, default)
Expand Down

0 comments on commit 247314d

Please sign in to comment.