Skip to content

Commit

Permalink
fixed abs_path on default envs
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Aug 10, 2024
1 parent f5357c3 commit a1fde36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sisl/_environ.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def _float_or_int(value: Union[str, float, int]):

register_environ_variable(
"SISL_TMP",
".sisl_tmp",
_abs_path(".sisl_tmp"),
"Path where temporary files should be stored",
process=_abs_path,
)
Expand All @@ -154,7 +154,7 @@ def _float_or_int(value: Union[str, float, int]):

register_environ_variable(
"SISL_FILES_TESTS",
"_THIS_DIRECTORY_DOES_NOT_EXIST_",
_abs_path("_THIS_DIRECTORY_DOES_NOT_EXIST_"),
dedent(
"""\
Full path of the sisl/files folder.
Expand Down

0 comments on commit a1fde36

Please sign in to comment.