From ef491b8b8647dcb24e471f43585067455ff10bd3 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Thu, 5 Sep 2024 10:31:16 +0200 Subject: [PATCH] Load phy channel_group as group --- src/spikeinterface/extractors/phykilosortextractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/extractors/phykilosortextractors.py b/src/spikeinterface/extractors/phykilosortextractors.py index a75ce97198..bc143ff33a 100644 --- a/src/spikeinterface/extractors/phykilosortextractors.py +++ b/src/spikeinterface/extractors/phykilosortextractors.py @@ -153,7 +153,7 @@ def __init__( self.extra_requirements.append("pandas") for prop_name in cluster_info.columns: - if prop_name in ["chan_grp", "ch_group"]: + if prop_name in ["chan_grp", "ch_group", "channel_group"]: self.set_property(key="group", values=cluster_info[prop_name]) elif prop_name == "cluster_id": self.set_property(key="original_cluster_id", values=cluster_info[prop_name])