Skip to content

Commit

Permalink
Update src/spikeinterface/core/generate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 authored Jan 7, 2025
1 parent 2f26983 commit 7dea3b2
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 @@ -1283,7 +1283,7 @@ def __init__(
noise_block_size: int = 30000,
):

channel_ids = [str(id) for id in np.arange(num_channels)]
channel_ids = [str(idx) for idx in np.arange(num_channels)]
dtype = np.dtype(dtype).name # Cast to string for serialization
if dtype not in ("float32", "float64"):
raise ValueError(f"'dtype' must be 'float32' or 'float64' but is {dtype}")
Expand Down

0 comments on commit 7dea3b2

Please sign in to comment.