Skip to content

Conversation

@yger
Copy link
Collaborator

@yger yger commented Jun 5, 2025

It can be that after clustering, no proper templates are detected. This is unlikely, but if so, the code is crashing. This PR prevents it and make sure that for any template matching based engine, the templates object has more than 0 templates

@alejoe91 alejoe91 added this to the 0.103.0 milestone Jun 11, 2025
@alejoe91 alejoe91 added the sorters Related to sorters module label Jun 12, 2025
Comment on lines 12 to 18
spike_dtype = [
("sample_index", "int64"),
("channel_index", "int64"),
("cluster_index", "int64"),
("amplitude", "float64"),
("segment_index", "int64"),
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import it!

@alejoe91 alejoe91 merged commit 8879423 into SpikeInterface:main Jun 12, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sorters Related to sorters module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants