From 9d6c1f9fcd27de93ba5235dd5508811e5634c6a5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 07:42:34 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/spikeinterface/curation/auto_merge.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/spikeinterface/curation/auto_merge.py b/src/spikeinterface/curation/auto_merge.py index 8b878e6cae..1a124bfac5 100644 --- a/src/spikeinterface/curation/auto_merge.py +++ b/src/spikeinterface/curation/auto_merge.py @@ -343,9 +343,9 @@ def compute_merge_unit_groups( params["censored_period_ms"], ) outs["pairs_decreased_score"] = pairs_decreased_score - - #ind1, ind2 = np.nonzero(pair_mask) - #print(step, len(ind1)) + + # ind1, ind2 = np.nonzero(pair_mask) + # print(step, len(ind1)) # FINAL STEP : create the final list from pair_mask boolean matrix ind1, ind2 = np.nonzero(pair_mask) @@ -641,7 +641,7 @@ def auto_merge_units( presets : str or list A single preset or a list of presets, that should be applied iteratively to the data steps_params : dict or list of dict, default None - The params that should be used for the steps or presets. Should be a single dict if only one steps, + The params that should be used for the steps or presets. Should be a single dict if only one steps, or a list of dict is multiples steps (same size as presets) steps : list or list of list, default None The list of steps that should be applied. If list of list is provided, then these lists will be applied @@ -701,7 +701,6 @@ def auto_merge_units( all_merging_groups += [merge_unit_groups] all_outs += [outs] - if extra_outputs: if len(to_be_launched) == 1: all_merging_groups = all_merging_groups[0]