Skip to content

Commit

Permalink
Merge pull request #13 from SpikeInterface/fix-num-channels
Browse files Browse the repository at this point in the history
`get_number_of_channels` -> `get_num_channels`
  • Loading branch information
alejoe91 authored Aug 2, 2024
2 parents 010fd76 + 7f7b7a0 commit ee0e087
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 ee0e087

Please sign in to comment.