Skip to content

Commit

Permalink
Update src/spikeinterface/core/generate.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Buccino <[email protected]>
  • Loading branch information
h-mayorquin and alejoe91 authored Nov 2, 2023
1 parent a849ceb commit 33ed321
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/spikeinterface/core/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ def generate_sorting(
spikes_in_seg["segment_index"] = segment_index
spikes.append(spikes_in_seg)

#
if add_spikes_on_borders:
spikes_on_borders = np.zeros(2 * num_spikes_per_border, dtype=minimum_spike_dtype)
spikes_on_borders["segment_index"] = segment_index
Expand Down

0 comments on commit 33ed321

Please sign in to comment.