From c95c4357126eab2619cdffe5826409689638df0c Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Tue, 2 Jul 2024 07:12:51 -0600 Subject: [PATCH] Update src/spikeinterface/core/base.py --- src/spikeinterface/core/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/core/base.py b/src/spikeinterface/core/base.py index a7b250690f..dcb80d2a67 100644 --- a/src/spikeinterface/core/base.py +++ b/src/spikeinterface/core/base.py @@ -56,7 +56,7 @@ def __init__(self, main_ids: Sequence) -> None: # "main_ids" will either be channel_ids or units_ids # They are used for properties - self._main_ids = np.asarray(main_ids) + self._main_ids = np.array(main_ids) if len(self._main_ids) > 0: assert ( self._main_ids.dtype.kind in "uiSU"