Skip to content

Commit

Permalink
clarify docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Jan 9, 2024
1 parent ee56791 commit ba9e046
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions smartsim/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def _get_log_level() -> str:


def get_exp_log_paths() -> t.Tuple[t.Optional[pathlib.Path], t.Optional[pathlib.Path]]:
"""Returns the paths to the output and error file where experiment logs should
be written. If no experiment context is identified, returns None for both"""
if _exp_path := ctx_exp_path.get():
file_out = pathlib.Path(_exp_path) / "smartsim.out"
file_err = pathlib.Path(_exp_path) / "smartsim.err"
Expand Down

0 comments on commit ba9e046

Please sign in to comment.