From 1ffe6ccf8898d237519c36a8ce439b6b9db896e7 Mon Sep 17 00:00:00 2001 From: Samuel Garcia Date: Wed, 9 Oct 2024 12:49:15 +0200 Subject: [PATCH] oups --- src/spikeinterface/benchmark/tests/test_benchmark_sorter.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/spikeinterface/benchmark/tests/test_benchmark_sorter.py b/src/spikeinterface/benchmark/tests/test_benchmark_sorter.py index 2564d58d52..db48d32fde 100644 --- a/src/spikeinterface/benchmark/tests/test_benchmark_sorter.py +++ b/src/spikeinterface/benchmark/tests/test_benchmark_sorter.py @@ -64,10 +64,10 @@ def test_SorterStudy(setup_module): print(study) # # this run the sorters - # study.run() + study.run() # # this run comparisons - # study.compute_results() + study.compute_results() print(study) # this is from the base class @@ -84,5 +84,7 @@ def test_SorterStudy(setup_module): if __name__ == "__main__": study_folder = Path(__file__).resolve().parents[4] / "cache_folder" / "benchmarks" / "test_SorterStudy" + if study_folder.exists(): + shutil.rmtree(study_folder) create_a_study(study_folder) test_SorterStudy(study_folder)