Skip to content

Commit 8fc75ba

Browse files
authored
Small fix in nodepipeline that prevent tdc peeler in drift-aware mode (#4557)
1 parent b2bd036 commit 8fc75ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spikeinterface/core/node_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _first_call_before_pipeline(self):
9797
# see need_first_call_before_pipeline = True
9898
margin = self.get_margin()
9999
traces = self.recording.get_traces(start_frame=0, end_frame=margin * 2 + 1, segment_index=0)
100-
self.compute(traces, 0, margin * 2 + 1, 0, margin)
100+
self.compute(traces, margin, margin + 1, 0, margin)
101101

102102

103103
# this is used in sorting components

0 commit comments

Comments
 (0)