From 52c333b1a5bdcc5975b2c67c2341f02e80ca74de Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Thu, 28 Sep 2023 11:50:25 +0200 Subject: [PATCH] fix mistake --- src/spikeinterface/core/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/core/template.py b/src/spikeinterface/core/template.py index bc4f7bae80..e8c0f83f50 100644 --- a/src/spikeinterface/core/template.py +++ b/src/spikeinterface/core/template.py @@ -113,7 +113,7 @@ def get_dense_templates(self) -> np.ndarray: return self.templates_array densified_shape = (self.num_units, self.num_samples, self.num_channels) - dense_waveforms = np.zeros(dense=densified_shape, dtype=self.templates_array.dtype) + dense_waveforms = np.zeros(shape=densified_shape, dtype=self.templates_array.dtype) for unit_index, unit_id in enumerate(self.unit_ids): waveforms = self.templates_array[unit_index, ...]