Skip to content

Fix missing raise in Probe.set_contact_ids() size validation#401

Open
h-mayorquin wants to merge 1 commit intoSpikeInterface:mainfrom
h-mayorquin:fix_wrong_error
Open

Fix missing raise in Probe.set_contact_ids() size validation#401
h-mayorquin wants to merge 1 commit intoSpikeInterface:mainfrom
h-mayorquin:fix_wrong_error

Conversation

@h-mayorquin
Copy link
Collaborator

The ValueError for mismatched contact_ids size in set_contact_ids() was constructed but never raised due to a missing raise keyword. This fix also reorders the checks so size validation runs before uniqueness validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments