From 874db2e1932479bbc3ba3522418912d8402c07ad Mon Sep 17 00:00:00 2001 From: Pierre Yger Date: Wed, 15 Nov 2023 12:06:53 +0100 Subject: [PATCH] handling segments --- src/spikeinterface/sorters/internal/spyking_circus2.py | 2 ++ src/spikeinterface/sorters/internal/tridesclous2.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/spikeinterface/sorters/internal/spyking_circus2.py b/src/spikeinterface/sorters/internal/spyking_circus2.py index a16b642dd5..fd283a8224 100644 --- a/src/spikeinterface/sorters/internal/spyking_circus2.py +++ b/src/spikeinterface/sorters/internal/spyking_circus2.py @@ -33,6 +33,8 @@ class Spykingcircus2Sorter(ComponentsBasedSorter): "job_kwargs": {"n_jobs": -1}, } + handle_multi_segment = True + @classmethod def get_sorter_version(cls): return "2.0" diff --git a/src/spikeinterface/sorters/internal/tridesclous2.py b/src/spikeinterface/sorters/internal/tridesclous2.py index e256915fa6..eb2ddc922d 100644 --- a/src/spikeinterface/sorters/internal/tridesclous2.py +++ b/src/spikeinterface/sorters/internal/tridesclous2.py @@ -50,6 +50,8 @@ class Tridesclous2Sorter(ComponentsBasedSorter): "save_array": True, } + handle_multi_segment = True + @classmethod def get_sorter_version(cls): return "2.0"