From 1125ff06d99058fd06a9e2b0bea9d41d65e9eb4f Mon Sep 17 00:00:00 2001 From: pauladkisson Date: Tue, 8 Oct 2024 13:13:39 -0700 Subject: [PATCH] fixed file paths for segmentation_extractor2 --- tests/test_minimal/test_numpy_segmentation_extractor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_minimal/test_numpy_segmentation_extractor.py b/tests/test_minimal/test_numpy_segmentation_extractor.py index 0b92e77e..743982a6 100644 --- a/tests/test_minimal/test_numpy_segmentation_extractor.py +++ b/tests/test_minimal/test_numpy_segmentation_extractor.py @@ -232,7 +232,7 @@ def segmentation_extractor2( ) name_to_file_path = {} for name, ndarray in name_to_ndarray.items(): - file_path = tmp_path / f"{name}.npy" + file_path = tmp_path / f"{name}2.npy" file_path.parent.mkdir(parents=True, exist_ok=True) np.save(file_path, ndarray) name_to_file_path[name] = file_path @@ -245,7 +245,7 @@ def segmentation_extractor2( for name, dict_of_ndarrays in name_to_dict_of_ndarrays.items(): name_to_dict_of_file_paths[name] = {} for key, ndarray in dict_of_ndarrays.items(): - file_path = tmp_path / f"{name}_{key}.npy" + file_path = tmp_path / f"{name}_{key}2.npy" np.save(file_path, ndarray) name_to_dict_of_file_paths[name][key] = file_path