Skip to content

Commit d13dbbe

Browse files
authored
Merge pull request #3744 from h-mayorquin/fix_aggregation_dict
Fix dict representation in aggregation (numpy 2.0)
2 parents 1df6d1c + 2b9f06c commit d13dbbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spikeinterface/core/baserecordingsnippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def split_by(self, property="group", outputs="dict"):
560560
recordings = []
561561
elif outputs == "dict":
562562
recordings = {}
563-
for value in np.unique(values):
563+
for value in np.unique(values).tolist():
564564
(inds,) = np.nonzero(values == value)
565565
new_channel_ids = self.get_channel_ids()[inds]
566566
subrec = self.select_channels(new_channel_ids)

0 commit comments

Comments
 (0)