Repository navigation
[GUI] Expose native format readers and document the FieldTrip alternatives - #850
Conversation
There was a problem hiding this comment.
If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.
Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.
|
Claude finished @arnodelorme's task in 43s —— View job Code review
BlockingNone. ImportantNone. NitsNone. Test gapsNone. The new EEGLAB parity notesNone. Removing the changelog entry for #761 is correct: it said Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance. |
|
Review (Claude Fable): needs Arno
DetailsWhat reached develop without review
Menu parity The capture is right. EEGPrep now lists BIDS, Brain Vis. Rec. (.vhdr or .ahdr), Brain Vis. Anal., Magstim/EGI .mff, EGI .RAW, Neuroscan .CNT, Neuroscan .EEG. That is EEGLAB's order with its plugins installed. "From EGI .RAW file" exists only in EEGPrep (rule 1). Dropping the FILE-IO entry follows rule 22 and #814. Rules 23, 26 and 34 are not involved: no dialog layout and no The diff of this pull request
Evidence shown to Arno (rules 27, 29, 30) The body has the summary, the three-way menu capture, a figure, folded text, and the Word and PDF links. The figure is thin: three samples of one Neuroscan sweep. Rule 30 asks for one distance per test case. The claim about seven selectors compares EEGPrep with its former self, not with MATLAB. CI Passing: base install, pre-commit, Ruff and ty, docs, EEGLAB Python backend. Failing: Windows, on Other open pull requests No new conflict. This branch merges cleanly with #836, #837, #841, #844, #846, #848, #849, #851, #852, #856, #857 and #858. #778, #797, #835 and #845 conflict, but they already conflict with develop itself. Small points, none blocking
— orchestrator review |
File > Import data has distinct entries for BrainVision, Neuroscan and EGI formats. pop_fileio explains which reader to call. The migration table maps all seven previous selectors to their replacement calls, and the regression checks the native EGI RAW menu and its console history.
The native reader alternatives reproduced the original signal data for all seven selectors. MATLAB and EEGPrep returned exactly 1.953125, 2.343750 and 2.734375 µV for Cz in the selected Neuroscan sweep at 250 Hz. Both put the time-locking event at sample 1. The EGI RAW menu imported and replayed the selected samples 2 through 4.
Editable Word report · PDF report
Cause and change
The aggregate importer hid format-specific readers and registered their menus through the BIDS extension. Its public entry now reports that FieldTrip is unavailable. Native menu actions call the appropriate reader and retain executable history. A private fallback preserves BIDS loading.
Verification
351 GUI and reader tests and 139 subtests passed on the final feature branch, with 7 reference cases deselected. All seven replacement calls were tested with files. Across the broader stack 590 distinct non-ASR tests passed, including the BrainVision Analyzer MATLAB reference fixture. A pre-existing ASR warning reproduced on the original code on macOS and the untouched test passed on Linux. Pre-commit, Ruff and ty passed. Full MATLAB reference run. Reference pins: EEGLAB d0963be9d81acc5b66e84f8d3d7c89e3ce127cc4 and eeglab_tests fec88f9ffe7c225eb1de8924db8b6a3e0d53a4d9. The original base-install CI failure exposed an inconsistent MNE extra marker. This branch and #857 share its correction. The rerun passed 169 tests and 139 subtests, with 4 reference cases deselected. GitHub has accepted the full reference run on this exact branch tip. Its counts and runtime are pending.
Decision for Arno
At 18:56 Pacific the orchestrator’s automatic repo-push job sent the implementation to develop. This PR contains the remaining migration guidance and EGI regression. The complete native-reader change can be reviewed against its MNE parent. Original implementation diff.
The MNE interface is covered by #842.
Fixes #814
Part of #736
Addresses #843