From 27f4e6dbf4d0d48f640e53c530b90fbfb3434166 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 13:11:30 +0000 Subject: [PATCH 1/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/spikeinterface/comparison/comparisontools.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/spikeinterface/comparison/comparisontools.py b/src/spikeinterface/comparison/comparisontools.py index 64b9b757f6..c56d02e3b3 100644 --- a/src/spikeinterface/comparison/comparisontools.py +++ b/src/spikeinterface/comparison/comparisontools.py @@ -63,7 +63,7 @@ def compute_agreement_score(num_matches, num1, num2): def do_count_event(sorting): """ Count event for each units in a sorting. - + Kept for backward compatibility sorting.count_num_spikes_per_unit() is doing the same. Parameters @@ -81,7 +81,6 @@ def do_count_event(sorting): return pd.Series(sorting.count_num_spikes_per_unit()) - def count_match_spikes(times1, all_times2, delta_frames): # , event_counts1, event_counts2 unit2_ids, """ Computes matching spikes between one spike train and a list of others. From 0349dbb017c75cbd2fb2c54b94e24e053c19b0b3 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 13 Nov 2023 14:36:24 +0100 Subject: [PATCH 2/2] Update src/spikeinterface/comparison/comparisontools.py --- src/spikeinterface/comparison/comparisontools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/comparison/comparisontools.py b/src/spikeinterface/comparison/comparisontools.py index c56d02e3b3..731753287e 100644 --- a/src/spikeinterface/comparison/comparisontools.py +++ b/src/spikeinterface/comparison/comparisontools.py @@ -131,7 +131,7 @@ def compute_matching_matrix( """ Internal function used by `make_match_count_matrix()`. This function is for one segment only. - The llop over segment is done in `make_match_count_matrix()` + The loop over segment is done in `make_match_count_matrix()` Parameters ----------