You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bids_preproc end-to-end MATLAB comparison hides ICA and event mismatches #454
tests/test_bids_preproc.py compares the full pipeline with atol=200 µV and does not check icaweights. Comments removed in the comment-cleanup pass recorded three gaps:
ds003061 is limited to run 2 because cached run 1 files hit an ICA shape mismatch.
pop_select sometimes keeps events on the Python side that MATLAB drops, so later stages drift.
PICARD icaweights are not asserted because they do not match MATLAB. The data tolerance is wide enough to absorb that (observed gaps were about 10 µV and 160 µV).
The assertions were left unchanged. Replace the 200 µV check and the skipped weight comparison with a component-aligned comparison, and fix the event-retention and run-1 shape mismatches.
Activity
suraj-ranganath commentedon Oct 16, 2026
Closing as superseded.
a5f8eb5b),tests/test_ds003061_stage_parity.py. On ds003061 run-1 it compares each stage on identical inputs:tests/parity_expected/ds003061_pipeline.jsonpop_selectevent-retention divergence, with a likely cause (pop_select.py:542-555ports only part ofeeg_checkset(EEG, 'eventconsistency'), whichpop_select.m:744calls) and repro steps.bids_preproc-specific gaps Match ds003061 MATLAB stages on identical inputs #471 doesn't reach: the 200 µV host-gatedtest_end2end, Python picard vs MATLAB runica inscripts/bids_pipeline.m, and the run-1 cache shape mismatch.