Skip to content

Commit 97f3ab4

Browse files
committed
send peak_sign to get_template_peak_shift
1 parent 29d4154 commit 97f3ab4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spikeinterface/curation/remove_redundant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def remove_redundant_units(
8080

8181
if align and unit_peak_shifts is None:
8282
assert sorting_analyzer is not None, "For align=True must give a SortingAnalyzer or explicit unit_peak_shifts"
83-
unit_peak_shifts = get_template_extremum_channel_peak_shift(sorting_analyzer)
83+
unit_peak_shifts = get_template_extremum_channel_peak_shift(sorting_analyzer, peak_sign=peak_sign)
8484

8585
if align:
8686
sorting_aligned = align_sorting(sorting, unit_peak_shifts)

0 commit comments

Comments
 (0)