Skip to content

pop_fileio help: send MFF users to the folder picker - #783

Merged
suraj-ranganath merged 3 commits into
developfrom
suraj/736-mff-folder-picker-help
Nov 28, 2026
Merged

suraj-ranganath merged 3 commits into
developfrom
suraj/736-mff-folder-picker-help

Conversation

@suraj-ranganath

Copy link
Copy Markdown
Member

Part of #736. Follow-up to #715.

The #715 header and Help put MFF under the MNE-IO interface, whose picker cannot select an MFF folder. The real path is File > Import data > Using EEGPrep functions and plugins > Import Magstim/EGI .mff file, which opens a folder picker and calls pop_mffimport (and keeps epochs for segmented recordings). This corrects the module header, the File-IO and MFF Help, the data-format troubleshooting page and the Sphinx GUI guide.

Docs only. Reader and menu tests (21) and packaged Help tests (3) pass; pre-commit clean.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Code review skipped — your organization has no extra usage available to pay for this review.

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

claude Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @suraj-ranganath's task in 45s —— View job


Code review

  • Pre-review gate: PR is open and not a draft, there is no earlier review, and the checked-out commit matches the PR head (7e94299)

  • Read AGENTS.md / CLAUDE.md and the diff (5 files, docs only)

  • Checked each changed statement against the menu and reader code

  • Posted the review

  • Overall assessment: Looks good. Docs only. Every new GUI path in the text matches the menu code.

  • Highest-risk area: None identified.

  • Merge recommendation: Safe to merge.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None.

EEGLAB parity notes

None.

How the new text was checked

  • Menu location: Import Magstim/EGI .mff file is registered under File > Import data > Using EEGPrep functions and plugins. See src/eegprep/plugins/EEG_BIDS/menu.py:12, src/eegprep/extensions.py:494-498 (path ("File", "Import data", "import data")) and src/eegprep/functions/guifunc/eeglab_menu.py:36.
  • Folder picker: the pop_fileio_mff action opens QFileDialog.getExistingDirectory and then calls pop_mffimport(filename, gui=True, return_com=True) (src/eegprep/functions/guifunc/menu_actions.py:743-746, :767-773).
  • Epochs and MNE: pop_mffimport keeps segmented recordings epoched (_looks_segmented / _epochs_from_categories) and reads samples through mne_raw_to_eeg. So "preserves the epochs in segmented recordings" and "Both pop_biosig and pop_mffimport read samples through MNE-Python" are accurate.
  • Script path: pop_fileio still reads .mff with read_raw_egi, and pop_fileio.md still lists it.
  • AGENTS.md: Help stays in packaged resources/help/, and the Sphinx GUI guide is updated in the same branch.

Also checked for correctness bugs, data structure compatibility and changed-behavior tests.

I couldn't post this review as a separate gh pr comment, because the sandbox blocked writing the review body file under /tmp. I posted no inline comments because there were no findings.

@suraj-ranganath
suraj-ranganath merged commit dfb2b61 into develop Nov 28, 2026
12 checks passed
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