Skip to content

Commit

Permalink
make path absolute in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thorben-frank committed Jan 16, 2024
1 parent c7af85a commit eae3c0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_so3krates.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ def test_so3krates_training():
from mlff.properties import md17_property_keys as prop_keys

import mlff.properties.property_names as pn
import pathlib

data_path = 'test_data/ethanol.npz'
save_path = '_test_train_so3krates'
save_path = pathlib.Path('_test_train_so3krates').expanduser().absolute().resolve()
ckpt_dir = os.path.join(save_path, 'module')
ckpt_dir = create_directory(ckpt_dir, exists_ok=False)

Expand Down

0 comments on commit eae3c0b

Please sign in to comment.