From b100cff9d406fc5b159532ba397d323038a30593 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Wed, 20 Sep 2023 13:28:48 +0200 Subject: [PATCH] typo --- src/spikeinterface/core/sparsity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/core/sparsity.py b/src/spikeinterface/core/sparsity.py index 4c3269b21b..064ec63c3f 100644 --- a/src/spikeinterface/core/sparsity.py +++ b/src/spikeinterface/core/sparsity.py @@ -149,7 +149,7 @@ def sparsify_waveforms(self, waveforms: np.ndarray, unit_index: int) -> np.ndarr assert_msg = ( "Waveforms must be dense to sparsify them. " - f"Their last dimension {waveforms.shape[-1]} must be equal to the number of channels {self.num_chanenls}" + f"Their last dimension {waveforms.shape[-1]} must be equal to the number of channels {self.num_channels}" ) assert self.are_waveforms_dense(waveforms=waveforms), assert_msg