Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yger committed Jan 13, 2025
1 parent b901241 commit 70be7a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeinterface/sortingcomponents/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@ def get_prototype_and_waveforms(
The selected peaks used to extract waveforms.
"""
if peaks is None:
return get_prototype_and_waveforms_from_peaks(
return get_prototype_and_waveforms_from_recording(
recording, n_peaks, ms_before=ms_before, ms_after=ms_after, seed=seed, **all_kwargs
)
else:
return get_prototype_and_waveforms_from_recording(
return get_prototype_and_waveforms_from_peaks(
recording, peaks, n_peaks, ms_before=ms_before, ms_after=ms_after, seed=seed, **all_kwargs
)

Expand Down

0 comments on commit 70be7a4

Please sign in to comment.