From 7f7b7a0e7272b5f6b4bc4a7c2fbe27ce4f41f5fa Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Fri, 2 Aug 2024 16:59:40 +0200 Subject: [PATCH] fix small typo --- python/upload_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/upload_templates.py b/python/upload_templates.py index 66e2adf..5f4f5d7 100644 --- a/python/upload_templates.py +++ b/python/upload_templates.py @@ -259,7 +259,7 @@ def find_channels_with_max_peak_to_peak_vectorized(templates): # Do a check for the expected shape of the templates number_of_units = sorting.get_num_units() number_of_temporal_samples = target_nbefore + target_nafter - number_of_channels = pre_processed_recording.get_number_of_channels() + number_of_channels = pre_processed_recording.get_num_channels() expected_shape = (number_of_units, number_of_temporal_samples, number_of_channels) assert templates_extension_data.templates_array.shape == expected_shape