Skip to content

Commit

Permalink
fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Aug 2, 2024
1 parent 010fd76 commit 7f7b7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/upload_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7f7b7a0

Please sign in to comment.