Skip to content

[GUI] Match the pop_dipfit_settings dialog on configured MRI data - #1039

Merged
arnodelorme merged 3 commits into
developfrom
agent/issue-1002-dipfit_settings
Dec 1, 2026
Merged

arnodelorme merged 3 commits into
developfrom
agent/issue-1002-dipfit_settings

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The configured head model, MRI and landmark fields use the native row weights. External models keep their chosen path, empty or nine-parameter transforms, and active Browse controls. The largest vertical offset after the change was 0.69 px. This PR stacks on #1038.

pop_dipfit_settings.fit-triptych

distances

The MATLAB and Python public calls stored identical transformations and selected channels in all three configured cases.

Native captures and verification

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

Fixes #1002. Part of #875.

Full inventory report for the project team. pop_dipfit_settings (p. 90). 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 1m 27s —— View job


Code review

  • Overall assessment: Looks good. I checked the restored-transform logic in pop_dipfit_settings_dialog_spec, the stricter _template_index match, the new select_file/show_help callbacks (both handled in guifunc/qt.py, and resources/help/pop_dipfit_settings.md exists), the supergui geometry change, the docs note and the new test.
  • Highest-risk area: _template_index now needs an exact hdmfile match (it used to accept a matching suffix).
  • Merge recommendation: Safe to merge.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None.

EEGLAB parity notes

_template_index changed from endswith to ==. EEGLAB stores hdmfile as an absolute path into its plugins/dipfit/standard_BEM folder, as in the source-reconstruction tutorial (tests/test_tutorial_eeglab_tests.py:910-915). So a .set file configured in EEGLAB now opens with Custom selected instead of Boundary element model.

The path and transform are kept, so OK still stores the same settings, and the new test makes the change deliberate. If none of the three MATLAB captures used an EEGLAB-saved absolute template path, please confirm that MATLAB also shows Custom in that case.

I didn't run the tests; this review comes from reading the code. The EEGLAB checkout isn't in this runner, so I couldn't compare against the MATLAB .m file directly.

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

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_settings dialog to EEGLAB

1 participant