Skip to content

Commit

Permalink
Update src/spikeinterface/core/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zach McKenzie <[email protected]>
  • Loading branch information
DradeAW and zm711 authored Dec 13, 2023
1 parent 1fb0688 commit 17609b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def ids_to_indices(
Parameters
----------
ids : list or np.ndarray or tuple or None
ids : list | np.ndarray | tuple | None, default: None
The array of IDs to be converted into indices. If `None`, it generates indices based on the length of `_main_ids`.
prefer_slice : bool, default: False
If `True`, the function will return a slice object when the indices are consecutive. Default is `False`.
Expand Down

0 comments on commit 17609b3

Please sign in to comment.