From fb5b1ef9c07bf7eccd3f37b014b59b5ffef1ce81 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Tue, 17 Oct 2023 16:23:53 +0200 Subject: [PATCH] Fix default --- src/spikeinterface/sortingcomponents/clustering/split.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/sortingcomponents/clustering/split.py b/src/spikeinterface/sortingcomponents/clustering/split.py index 5ea9fb7bb2..48ec26679e 100644 --- a/src/spikeinterface/sortingcomponents/clustering/split.py +++ b/src/spikeinterface/sortingcomponents/clustering/split.py @@ -61,7 +61,7 @@ def split_clusters( n_jobs = job_kwargs["n_jobs"] mp_context = job_kwargs.get("mp_context", None) progress_bar = job_kwargs["progress_bar"] - max_threads_per_process = job_kwargs.get("max_threads_per_process", None) + max_threads_per_process = job_kwargs.get("max_threads_per_process", 1) original_labels = peak_labels peak_labels = peak_labels.copy()