Skip to content

Commit

Permalink
Convert to absolute paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
loucerac committed May 5, 2023
1 parent 07e92e2 commit e6db18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drexml/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def get_out_path(disease):
The desired path.
"""

env_possible = Path(disease)
env_possible = Path(disease).absolute()

if env_possible.exists() and (env_possible.suffix == ".env"):
print(f"Working with experiment {env_possible.parent.name}")
Expand Down

0 comments on commit e6db18f

Please sign in to comment.