Skip to content

Commit 2b9f06c

Browse files
committed
fix dict representation in aggregation
1 parent 1df6d1c commit 2b9f06c

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)