Skip to content

Commit

Permalink
quality in phy to string
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Sep 5, 2024
1 parent 740e779 commit 5953d6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spikeinterface/extractors/phykilosortextractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ def __init__(
self.set_property(key="original_cluster_id", values=cluster_info[prop_name])
elif prop_name == "group":
# rename group property to 'quality'
self.set_property(key="quality", values=cluster_info[prop_name])
values = cluster_info[prop_name].values.astype("str")
self.set_property(key="quality", values=values)
else:
if load_all_cluster_properties:
# pandas loads strings with empty values as objects with NaNs
Expand Down

0 comments on commit 5953d6c

Please sign in to comment.