From bb48b63a05e6e933bce31e380f97f83cfb3cddb9 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Thu, 19 Dec 2024 11:03:57 -0600 Subject: [PATCH] Update src/spikeinterface/core/generate.py Co-authored-by: Alessio Buccino --- src/spikeinterface/core/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/core/generate.py b/src/spikeinterface/core/generate.py index 5824a75ab8..118ce384f3 100644 --- a/src/spikeinterface/core/generate.py +++ b/src/spikeinterface/core/generate.py @@ -1111,7 +1111,7 @@ def __init__( """ - unit_ids = [str(id) for id in np.arange(num_units)] + unit_ids = [str(idx) for idx in np.arange(num_units)] super().__init__(sampling_frequency, unit_ids) self.num_units = num_units