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 Dec 19, 2024
1 parent bb48b63 commit 2f26983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def generate_sorting(
seed = _ensure_seed(seed)
rng = np.random.default_rng(seed)
num_segments = len(durations)
unit_ids = [str(id) for id in np.arange(num_units)]
unit_ids = [str(idx) for idx in np.arange(num_units)]

spikes = []
for segment_index in range(num_segments):
Expand Down

0 comments on commit 2f26983

Please sign in to comment.