Skip to content

[GUI] Match the BrainVision sample and channel selection form - #963

Open
arnodelorme wants to merge 4 commits into
agent/issue-875-file-importpresfrom
agent/issue-875-file-loadbv
Open

arnodelorme wants to merge 4 commits into
agent/issue-875-file-importpresfrom
agent/issue-875-file-loadbv

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The header chooser is followed by the two-row range and channel form, including one-based examples. Stacked on #958 (agent/issue-875-file-importpres).

Format or settings window, MATLAB and EEGPrep before and after

Native height differences and histogram of normalized numerical distances

Measurements and verification

Native client geometry on jamming was 574.4 × 147.1 px in MATLAB, 596 × 138 before and 588 × 147 after. Screenshots use each toolkit’s captured frame. testbva.vhdr produced matching EEG samples for the full recording (32 × 2,112), two channels over 50 samples and one channel over 31 samples. All three distances were zero. The focused File menu run passed 246 tests (six deselected). Both source trees passed the capture safeguards.

Closes #964. Part of #875.

Full inventory report for the project team. pop_loadbv (p. 24). PDF · Editable Word.

@arnodelorme

Copy link
Copy Markdown
Collaborator Author

🤖 Review before taking this out of draft.

State. The updated parent (#958) is merged in (995e4fb75). On the Mac 201 tests pass and jamming passes 304 geometry tests.

What I checked. Title and both labels are now those of the EEGLAB plugin as recorded on jamming. The column shares [2 1] are the same proportion as the recorded [1 0.5], so the layout is the same.

No finding. Verdict: ready for review.

@arnodelorme
arnodelorme marked this pull request as ready for review December 2, 2026 05:49

@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 Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @arnodelorme's task in 36s —— View job


Code review

  • Overall assessment: Looks good. No issues found.
  • Highest-risk area: None identified. The change only touches the dialog title, labels and layout. Parsing of srange and chans and the EEG output are unchanged.
  • Merge recommendation: Safe to merge.

What I checked

  • Match with EEGLAB. The title and both labels match plugins/bva-io/pop_loadbv.m exactly. geometry=([2, 1], [2, 1]) gives the same column split as EEGLAB's {[1 0.5] [1 0.5]}.
  • Layout. The dialog now uses layout="supergui", like 84 other dialogs in EEGPrep. The old qt layout is only kept for dialogs not moved over yet (guifunc/spec.py:88).
  • New test. The pop_loadbv case in test_public_loader_settings uses a data.vhdr path that doesn't exist. This is fine: pop_loadbv opens the dialog before it reads the header (pop_loadbv.py:93-99), and the test's renderer cancels the dialog, which returns {} before the file is touched.
  • Docs. The new sentence in interactive_pop_workflows.rst describes what the dialog does.
  • Numbers. Nothing here can change numerical results, so no MATLAB reference run is needed.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None.

EEGLAB parity notes

None.

Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance.

Posting note: I couldn't also post this as a separate gh pr comment because this session wasn't allowed to write to /tmp. This comment is the full review.

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.

1 participant