Skip to content

Fix template similarity when there are multiple sizes of units#2601

Merged
alejoe91 merged 2 commits into
SpikeInterface:0.100-bug-fixesfrom
chrishalcrow:fix_template_similarity_diff_units
Mar 19, 2024
Merged

Fix template similarity when there are multiple sizes of units#2601
alejoe91 merged 2 commits into
SpikeInterface:0.100-bug-fixesfrom
chrishalcrow:fix_template_similarity_diff_units

Conversation

@chrishalcrow
Copy link
Copy Markdown
Member

Hopefully fixing issue #2599

And added a test to check that the agreement_scores are the expected size.

else:
return _compute_template_similarity(waveform_extractor, waveform_extractor_other, method)
return _compute_template_similarity(
waveform_extractor=waveform_extractor, waveform_extractor_other=waveform_extractor_other, method=method
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Another win for keyword arguments :)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Indeed!

@alejoe91 alejoe91 added the bug Something isn't working label Mar 19, 2024
@alejoe91 alejoe91 merged commit 9041249 into SpikeInterface:0.100-bug-fixes Mar 19, 2024
@alejoe91 alejoe91 added the comparison Related to comparison module label Mar 19, 2024
@samuelgarcia
Copy link
Copy Markdown
Member

Is it also done on the main branch ?

@chrishalcrow chrishalcrow deleted the fix_template_similarity_diff_units branch July 30, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working comparison Related to comparison module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants