Repository navigation
[EEGBrowser] Integrate rejection workflows - #107
Conversation
|
Claude finished @suraj-ranganath's task in 4m 51s —— View job PR Review: EEGBrowser rejection workflow integrationOverall this is a clean, well-tested integration. The shared 1.
|
|
🤖 Phase 5 implementation spec Problem Approach Key code def apply_epoched_rejection_browser(eeg, *, winrej, fields, command, command_callback, reject):
accepted = np.asarray(winrej, dtype=float)
out = copy_eeg(eeg)
_apply_current_family_rows(out, accepted, fields)
_merge_manual_rows(out, accepted, fields)
if reject:
marks = np.asarray((out.get("reject") or {}).get(fields.epoch_field, []), dtype=bool)
if marks.any():
out, reject_command = pop_rejepoch(out, marks, return_com=True)
command = _join_commands(command, reject_command)
if command_callback is not None:
command_callback(out, command)
return outTests Visual evidence Accepted deviations |
|
🤖 Addressed the actionable review feedback in |
|
🤖 Addressed the remaining Claude review findings and nits in Covered items:
Checks rerun locally: focused browser/workflow tests ( |




Wire EEGBrowser into selection, rejection, and clean_rawdata workflows so display paths show EEGLAB-style marks and accepted browser edits update session and console state. Adds focused regression coverage for data/ICA marks, reject-on-close, cancel, superpose, continuous and epoched behavior.
Fixes #99