From 916c26dbe8594a3199939e8f18b065da8ed6d599 Mon Sep 17 00:00:00 2001 From: JoeZiminski Date: Wed, 29 May 2024 12:14:10 +0100 Subject: [PATCH] test_symmetricsortingcomparison.py --- .../comparison/tests/test_symmetricsortingcomparison.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/spikeinterface/comparison/tests/test_symmetricsortingcomparison.py b/src/spikeinterface/comparison/tests/test_symmetricsortingcomparison.py index abc1902e22..92e8ec88c1 100644 --- a/src/spikeinterface/comparison/tests/test_symmetricsortingcomparison.py +++ b/src/spikeinterface/comparison/tests/test_symmetricsortingcomparison.py @@ -1,6 +1,7 @@ import numpy as np -from spikeinterface.extractors import NumpySorting, toy_example +from spikeinterface.core import generate_ground_truth_recording +from spikeinterface.extractors import NumpySorting from spikeinterface.comparison import compare_two_sorters @@ -29,7 +30,7 @@ def test_compare_two_sorters(): def test_compare_multi_segment(): - _, sort = toy_example(num_segments=2) + _, sort = generate_ground_truth_recording(durations=[10, 10]) cmp_multi = compare_two_sorters(sort, sort)