Skip to content

Port current mmo and MemmapData tests - #351

Merged
arnodelorme merged 1 commit into
work/testports-legacy-signal-io-stackedfrom
work/testports-mmo-memmap-stacked
Sep 19, 2026
Merged

arnodelorme merged 1 commit into
work/testports-legacy-signal-io-stackedfrom
work/testports-mmo-memmap-stacked

Conversation

@suraj-ranganath

Copy link
Copy Markdown
Member

Ports all 16 current mmo wrapper methods and adds a robust disk-backed MemmapData contract for normal and transposed files, mutation, resizing, deletion, and copy-on-write behavior. Core rejection, epoching, baseline, filtering, rereferencing, selection, and resampling workflows now preserve disk-backed outputs without altering the source mapping.

@suraj-ranganath

Copy link
Copy Markdown
Member Author

🤖 Problem

The current EEGLAB mmo suite had no complete EEGPrep counterpart, so large disk-backed datasets could silently become ordinary arrays or mutate source storage during common preprocessing. Several upstream wrapper methods are also no-ops or order-dependent.

Approach

Implemented and tested a standalone MemmapData/mmo contract for logical indexing over normal and transposed storage, copy-on-write mutation, resizing, file changes, and deletion. Extended processing paths to preserve disk-backed outputs.

Key code

Covers rejection, epoching, baseline removal, FIR filtering, rereferencing, selection, and resampling with source mapping preservation, plus the public mmo factory and storage documentation.

Tests

All 16 current wrapper methods and 16 mapped-versus-memory processing variants pass; focused plus public examples is 33 passed. The isolated branch passed 136 adjacent tests with 33 expected MATLAB skips. Repo Ruff, scoped format, typing, pre-commit, diff checks, and Sphinx pass.

@claude

claude Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude encountered an error after 0s —— View job


I'll analyze this and get back to you.

@suraj-ranganath
suraj-ranganath marked this pull request as ready for review September 14, 2026 10:09
@suraj-ranganath
suraj-ranganath force-pushed the work/testports-mmo-memmap-stacked branch from 920631d to d991c32 Compare September 14, 2026 10:09

@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's credit balance is too low for Code Review to run.

An organization admin can purchase credits or upgrade the plan in Plans & Billing.

Once credits are available, reopen this pull request to trigger a review.

@suraj-ranganath
suraj-ranganath force-pushed the work/testports-mmo-memmap-stacked branch from d991c32 to 77f2128 Compare September 14, 2026 10:22
@suraj-ranganath
suraj-ranganath force-pushed the work/testports-mmo-memmap-stacked branch from 77f2128 to 409e8aa Compare September 14, 2026 10:44
@arnodelorme
arnodelorme merged commit bd98f53 into develop Sep 19, 2026
9 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.

2 participants