Skip to content

Commit

Permalink
test files fetched using pooch
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLecocq committed Jul 30, 2024
1 parent 496b2ab commit 861e08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msnoise/test/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def setUp(self):
# path = os.path.abspath(os.path.dirname(__file__))
# data_folder = os.path.join(path, 'data')

data_folder = os.path.join(os.environ.get("MSNOISE_DATA_DIR",""), "1.6")
data_folder = os.path.join(os.environ.get("MSNOISE_DATA_DIR",pooch.os_cache("msnoise")), "1.6")

if not os.path.isdir("data"):
shutil.copytree(data_folder, "data/")
Expand Down

0 comments on commit 861e08a

Please sign in to comment.