Skip to content

Conversation

@AasmaGupta
Copy link

Reference issue (if any)

Fixes #13447

What does this implement/fix?

This PR improves the error raised when plotting topomaps with duplicate EEG
electrode positions caused by mixed 10–20 naming conventions
(T3/T4/T5/T6 vs T7/T8/P7/P8).

Instead of a generic "overlapping positions" error, a clearer and more
actionable message is raised that explains the naming conflict and suggests
how to resolve it by dropping one set of channels.

Additional information

A regression test has been added to ensure the clearer error message is raised
when mixed 10–20 electrode naming conventions are present.

@AasmaGupta
Copy link
Author

This PR adds a clearer error message for mixed 10–20 EEG electrode naming
conventions, along with a regression test. Happy to adjust wording or test
placement if needed.

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.

Handling duplicate electrode names in 10–20 system

1 participant