Skip to content

Commit 689d4c8

Browse files
committed
Fix channel ids in sortingview
1 parent 600f25e commit 689d4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spikeinterface/widgets/unit_templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def plot_sortingview(self, data_plot, **backend_kwargs):
2727
unit_id_to_channel_ids = dp.final_sparsity.unit_id_to_channel_ids
2828
unit_id_to_channel_indices = dp.final_sparsity.unit_id_to_channel_indices
2929

30-
unit_ids, channel_ids = make_serializable(dp.unit_ids, dp.channel_ids)
30+
unit_ids, channel_ids = make_serializable(dp.unit_ids, sorting_analyzer.channel_ids)
3131

3232
templates_dict = {}
3333
for u_i, unit in enumerate(unit_ids):

0 commit comments

Comments
 (0)