From 8b31681243d8d53136a47c6df5cb9bb9e980909c Mon Sep 17 00:00:00 2001 From: Sander Roet Date: Thu, 29 Aug 2024 14:16:46 +0200 Subject: [PATCH] convert to pathlib.Path instead --- tests/test_tmjob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tmjob.py b/tests/test_tmjob.py index f39ce25..ad0ab17 100644 --- a/tests/test_tmjob.py +++ b/tests/test_tmjob.py @@ -18,7 +18,7 @@ ANGLE_ID = 100 ANGULAR_SEARCH = "38.53" TEMP_DIR = TemporaryDirectory() -TEST_DATA_DIR = TEMP_DIR.name +TEST_DATA_DIR = pathlib.Path(TEMP_DIR.name) TEST_TOMOGRAM = TEST_DATA_DIR.joinpath("tomogram.mrc") TEST_BROKEN_TOMOGRAM_MASK = TEST_DATA_DIR.joinpath("broken_tomogram_mask.mrc") TEST_WRONG_SIZE_TOMO_MASK = TEST_DATA_DIR.joinpath("wrong_size_tomogram_mask.mrc")