Skip to content

Fix Maxwell routed channel mapping - #1909

Open
Arthur031221 wants to merge 2 commits into
NeuralEnsemble:masterfrom
Arthur031221:fix-maxwell-routed-mapping-s75
Open

Arthur031221 wants to merge 2 commits into
NeuralEnsemble:masterfrom
Arthur031221:fix-maxwell-routed-mapping-s75

Conversation

@Arthur031221

@Arthur031221 Arthur031221 commented Oct 4, 2026 •

Copy link
Copy Markdown

Maxwell recordings with repeated mapping channel IDs failed to load because the reader created duplicate signal IDs. The reader now follows routed channel order and keeps IDs with a single mapping entry, excluding repeated and unmapped IDs from headers and sample reads. It warns about repeated channel IDs. HDF5 buffer selection runs once so the remaining sample columns match the headers.

Picks up #1703 by @LeMuellerGuy and fixes #1702.

Added synthetic regressions for duplicate, missing and reordered mappings, empty wells, selected-channel reads and the legacy format. Tested with pytest -q neo/test/rawiotest/test_maxwellrawio.py::TestMaxwellRawIOSynthetic neo/test/rawiotest/test_baserawio.py.

Co-authored-by: Lennart 107409831+LeMuellerGuy@users.noreply.github.com

Arthur031221 and others added 2 commits October 4, 2026 09:26
Preserve routed channel order when selecting the first mapped electrode.
Keep the legacy mapping path and cover duplicate and unrouted mappings
with small synthetic HDF5 fixtures.

Co-authored-by: Lennart <107409831+LeMuellerGuy@users.noreply.github.com>
Signed-off-by: Arthur031221 <levi74108520963@gmail.com>

This branch has not been deployed

No deployments
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.

Maxwell/MaxTwo header reading

1 participant