Skip to content

Commit

Permalink
Convert to posix path to keep Settings promises
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrv committed Dec 1, 2021
1 parent b8cc739 commit 1b09db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_atomistics/lammps/potential.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def files(self):
resource_path_lst = s.resource_paths
for conda_var in ["CONDA_PREFIX", "CONDA_DIR"]:
if conda_var in env.keys(): # support iprpy-data package
path_to_add = os.path.join(env[conda_var], "share", "iprpy")
path_to_add = s.convert_path_to_abs_posix(os.path.join(env[conda_var], "share", "iprpy"))
if path_to_add not in resource_path_lst:
resource_path_lst.append(path_to_add)
for path in relative_file_paths:
Expand Down

0 comments on commit 1b09db7

Please sign in to comment.