Skip to content

Revert pop_biosig dialog commit pushed to develop without review - #718

Merged
arnodelorme merged 1 commit into
developfrom
agent/issue-701-revert
Nov 27, 2026
Merged

arnodelorme merged 1 commit into
developfrom
agent/issue-701-revert

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Reverts 6eab931, which reached develop on November 26, 2026 through an automatic push that followed a wrong upstream, not through a pull request. Merging this removes that change only: the seven files it touched go back to their content at df89e80, and pull request 698, merged since, is kept. The pop_biosig change then comes back as its own pull request for issue 701, to be reviewed like the others.

Part of #701
Part of #735

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

Copy link
Copy Markdown
Contributor

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


PR review: skipped because this is an exact revert

  • Check that the review is still current (HEAD df0a794 matches the PR head; PR is open and not a draft)
  • Check that the revert is exact
  • Apply the review gate from github-pr-review

Result: The tree of this branch (91fc8676) is identical to the tree of df89e80a, the parent of 6eab931. So merging this restores develop to exactly what it was before the pop_biosig dialog commit, as the description says. The 7 changed files and their line counts are the exact inverse of 6eab931 (+11/−181 against +181/−11).

The review skill skips trivial changes that are clearly correct, so I did not do a full review and did not post a `` comment. The real review should happen on the follow-up pop_biosig PR for #701.

Things to know before merging:

  • This PR changes only a few tests and docs and reverts pop_biosig.py to a state that has already been reviewed, so it doesn't need the EEGLAB MATLAB reference run.
  • The re-opened pop_biosig PR will change pop_biosig.py (a core function), so it does need the MATLAB reference run and a human approval.

@arnodelorme arnodelorme left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This review was written by an AI assistant during a nightly check, not by Arno.

Code review

  • Overall assessment: safe to merge. The revert is exact and merges cleanly into the current develop.
  • Highest-risk area: how the pop_biosig change comes back afterwards (see Important 1), not this diff.
  • Merge recommendation: safe to merge, once the human approver has settled Important 2.

What was checked at df0a794:

  • The tree of the head commit is identical to the tree of df89e80 (91fc8676), so the seven files return to their content before 6eab931 and nothing else moves.
  • develop has gained #698, #712, #713, #714, #715 and #716 since 6eab931. A simulated merge into develop at 046117e has no conflict, and its difference from develop is the same 11 added and 181 removed lines in the same seven files. The pop_biosig.py docstring and the pop_biosig.md text added by #712 are kept.
  • No file changed on develop since 6eab931 uses what this removes (uncalibrated, overflow, blockepoch, _digital_samples). docs/source/user_guide/gui_console_session.rst line 266 ("BIOSIG mexSLOAD, overflow, and uncalibrated-reader switches are absent") is true again after the merge.

Tests run locally (Python 3.11 environment, without MATLAB):

  • On the head commit: tests/test_bdf_records_eeglab_tests.py, tests/test_stream9_gui_importers.py and tests/test_stream9_readers.py gave 43 passed, 7 deselected (the EEGLAB reference tests, which need --eeglab-backend).
  • On the simulated merge with develop at 046117e: the same three files plus tests/test_file_menu_audit_673.py gave 110 passed, 1 failed, 7 deselected. The failure is test_real_testmff_matches_eeglab_epochs, because defusedxml is missing from the local environment. It is an MFF reader test and is not related to this change.

Blocking

None.

Important

  1. Bringing the change back for #701 needs a new commit, not the old branch. After this merges, develop contains both 6eab931 and its revert. A pull request from a branch that still carries 6eab931 itself will show none of its 181 lines, and merging it (merge commit or squash) will not restore them, because git treats 6eab931 as already merged. Suggested fix: cut the #701 branch from develop after this merge and run git cherry-pick 6eab9310 (or revert the revert commit), then open the pull request from that branch.

  2. No MATLAB reference run in the description (src/eegprep/functions/popfunc/pop_biosig.py). AGENTS.md says: "Before merging a PR that changes core function implementations (EEGLAB-ported processing code), trigger .github/workflows/eeglab-reference.yml ... on the PR branch", and only "PRs that change only tests, docs, CI, or tooling do not need it." This pull request removes the uncalibrated, overflow and blockepoch code paths from pop_biosig, so the rule applies as written. The risk is low because the function body returns to its df89e80 content, but the green "EEGLAB Python backend" check does not count as that evidence. Suggested fix: trigger the workflow on agent/issue-701-revert and add the result to the description, or have the approver state that an exact revert is exempt.

  3. #748 will need a rebase after this merge. It adds a test in tests/test_bdf_records_eeglab_tests.py right next to test_pop_biosig_uncalibrated_returns_stored_bdf_integers, which this revert removes, and a simulated merge of #748 on top of this one conflicts in that file. #749, #750 and #751 merge cleanly after the revert. The conflicts of #762 exist against develop already and do not come from this change.

Nits

None.

Test gaps

None. The three removed tests cover only the removed options.

EEGLAB parity notes

After the merge the dialog is again different from pop_biosig.m lines 154 to 168: it has no "Force continuous data when data is stored in blocks", "Enable overflow detection" and "Import uncalibrated data" checkboxes, and it has a "Remove marker channel" checkbox that EEGLAB does not show. A dialog import also writes bdfeventmode and the four on/off options to the history every time, where pop_biosig.m lines 180 to 183 write an option only when it leaves its default. This is the expected result of the revert and is tracked by #701. No action is needed here.

@arnodelorme
arnodelorme merged commit 45a536f into develop Nov 27, 2026
19 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