Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Sep 20, 2023
1 parent dff698f commit b100cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/sparsity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b100cff

Please sign in to comment.