Skip to content

[GUI] Match the pop_dipfit_loreta dialog on configured MRI data - #1023

Merged
arnodelorme merged 2 commits into
developfrom
agent/issue-990-dipfit_loreta
Dec 1, 2026
Merged

arnodelorme merged 2 commits into
developfrom
agent/issue-990-dipfit_loreta

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The native two-line component heading and analysis/plot settings now use their recorded relative heights. The largest vertical offset after the change was 0.46 px. This PR stacks on #989.

pop_dipfit_loreta.fit-triptych

distances

EEGPrep still lacks an eLORETA solver. The native fit and three real leadfield points supply the GUI prerequisites; a numerical source estimate is unavailable in Python.

Native captures and verification

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

Fixes #990. Part of #875.

Full inventory report for the project team. pop_dipfit_loreta (p. 89). 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 37s —— View job


Code review

  • Overall assessment: Looks good. This is a small layout-only change. The dialog switches to layout="supergui" with geomvert=(2, 1, 1, 1, 1, 1) so the two-line component heading gets double height. The new geometry case pins it against the recorded EEGLAB inputgui call (EEGLAB commit 5e0be870).
  • Highest-risk area: None identified. The change only affects the dialog. It doesn't touch the prerequisite checks, the unavailable(...) path or any numerical code.
  • Merge recommendation: Safe to merge after [GUI] Match the pop_viewprops prompt to its recorded layout #989.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. tests/test_gui_geometry.py now compares the EEGPrep dialog spec with tools/gui_geometry/reference/pop_dipfit_loreta.json. That reference was recorded with an EEGfit dataset that has sourcemodel, model, mrifile and MNI coordformat. This is the configured-MRI state the PR title describes.

EEGLAB parity notes

None. The recorded case (tools/gui_geometry/cases/pop_dipfit_loreta.json) matches the Python spec in title, geometry, geomvert, control order, labels and default values ('method', 'eloreta' and 'method', 'slice'). No numerical output changes, so no MATLAB reference run is needed.

Not checked

  • I couldn't open EEGLAB's pop_dipfit_loreta.m because the vendored src/eegprep/eeglab/ checkout isn't in this CI workspace. The parity check relies on the recorded geometry case instead.
  • I didn't run the tests myself.

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-961-viewprops to develop December 1, 2026 04:30
@arnodelorme
arnodelorme merged commit 8887c34 into develop Dec 1, 2026
5 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.

[GUI] Match the pop_dipfit_loreta dialog to EEGLAB

1 participant