Skip to content

[GUI] Match the pop_dipplot dialog on configured MRI data - #1026

Merged
arnodelorme merged 2 commits into
developfrom
agent/issue-995-dipplot
Dec 1, 2026
Merged

arnodelorme merged 2 commits into
developfrom
agent/issue-995-dipplot

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The component/RV filters, MRI row and projection options now take their height from the recorded geometry. The largest vertical offset after the change was 0.63 px. This PR stacks on #1025.

pop_dipplot.fit-triptych

distances

The three submitted component selections appeared identically in MATLAB and EEGPrep plot history, using MNI dipole positions from the same sample fit. This tests the requested selections.

Native captures and verification

The clean jamming capture verified the checkout imports before opening each window. Focused geometry and DIPFIT test results were 205 passed in 3.38s.

Fixes #995. Part of #875.

Full inventory report for the project team. pop_dipplot (p. 86). PDF · Editable Word.

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

Copy link
Copy Markdown
Contributor

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


Code review

  • Overall assessment: Looks good. Only the dialog layout changes. pop_dipplot_dialog_spec drops the fixed size=(660, 410) / row_spacing=4 and uses layout="supergui" instead. pop_multifit, pop_dipfit_loreta and pop_dipfit_gridsearch already lay out their dialogs this way. The new MATLAB case in record_geometry.m (EEGfit with mrifile='standard_mri.mat') and the new POP_DIALOGS entry in tests/test_gui_geometry.py give the dialog the same dipfit.mrifile. That means the recorded uilist and the EEGPrep spec are compared on the same inputs.
  • Highest-risk area: None identified. Control order, labels and defaults match the recorded uilist in tools/gui_geometry/cases/pop_dipplot.json: the MRI edit is prefilled with standard_mri.mat, normlen is checked and the other checkboxes are unchecked. No processing or numerical code changed, so a MATLAB reference run is not needed.
  • Merge recommendation: Safe to merge once [GUI] Match the pop_multifit dialog on configured MRI data #1025 lands.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. The pop_dipplot entry in tests/test_gui_geometry.py covers the changed geometry. I could not run that test here because running pytest needed a permission this session doesn't have.

EEGLAB parity notes

None. The edit field has tag mri in EEGPrep and mrifile in EEGLAB. Only internal code uses the tag and the user never sees it, so nothing needs to change.

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

@arnodelorme
arnodelorme changed the base branch from agent/issue-993-multifit to develop December 1, 2026 04:31
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.

[GUI] Match the pop_dipplot dialog to EEGLAB

1 participant