Repository navigation
Revert pop_biosig dialog commit pushed to develop without review - #718
Conversation
This reverts commit 6eab931.
There was a problem hiding this comment.
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 finished @arnodelorme's task in 26s —— View job PR review: skipped because this is an exact revert
Result: The tree of this branch ( 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 Things to know before merging:
|
arnodelorme
left a comment
There was a problem hiding this comment.
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_biosigchange 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. develophas gained #698, #712, #713, #714, #715 and #716 since 6eab931. A simulated merge intodevelopat 046117e has no conflict, and its difference fromdevelopis the same 11 added and 181 removed lines in the same seven files. Thepop_biosig.pydocstring and thepop_biosig.mdtext added by #712 are kept.- No file changed on
developsince 6eab931 uses what this removes (uncalibrated,overflow,blockepoch,_digital_samples).docs/source/user_guide/gui_console_session.rstline 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.pyandtests/test_stream9_readers.pygave 43 passed, 7 deselected (the EEGLAB reference tests, which need--eeglab-backend). - On the simulated merge with
developat 046117e: the same three files plustests/test_file_menu_audit_673.pygave 110 passed, 1 failed, 7 deselected. The failure istest_real_testmff_matches_eeglab_epochs, becausedefusedxmlis missing from the local environment. It is an MFF reader test and is not related to this change.
Blocking
None.
Important
-
Bringing the change back for #701 needs a new commit, not the old branch. After this merges,
developcontains 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 fromdevelopafter this merge and rungit cherry-pick 6eab9310(or revert the revert commit), then open the pull request from that branch. -
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 theuncalibrated,overflowandblockepochcode paths frompop_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 onagent/issue-701-revertand add the result to the description, or have the approver state that an exact revert is exempt. -
#748 will need a rebase after this merge. It adds a test in
tests/test_bdf_records_eeglab_tests.pyright next totest_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 againstdevelopalready 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.
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