Skip to content

Commit 99afff6

Browse files
authored
Apply suggestion from @alejoe91
1 parent da6b401 commit 99afff6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/spikeinterface/preprocessing/detect_artifacts.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,7 @@ def compute(
229229
all_events = np.concatenate(all_events)
230230
# sort by start sample index
231231
order = np.argsort(all_events["start_sample_index"])
232-
all_events = all_events[order]
233-
return (all_events,)
232+
events = all_events[order]
234233

235234
return (events,)
236235

0 commit comments

Comments
 (0)