eegdash.io package#

Submodules#

Module contents#

What EEGDash can read: one table, extension -> reader, tagged with its upstream status.

  • "mne": MNE’s own reader, as is.

  • "tolerant": MNE’s reader run under the fixes in eegdash/io/<fmt>.py, which are not in a MNE release yet (PR drafts: eegdash-io-2026-10-17/upstream/).

  • "vendored": MNE has no reader; ours is written to move to mne/io/<fmt>/. MNE’s is used as soon as mne.io has it.

  • "options": MNE’s reader, called with options EEGDash computes per file (brainvision.py: overrides=, MNE 1.13). Nothing to upstream.

Delete an eegdash module once the MNE release with its fix is the floor in pyproject.toml.

eegdash.io.get_reader(ext)[source]

Return the reader for ext (lower-case, with the dot).

eegdash.io.tolerant()[source]

Apply every pending MNE and MNE-BIDS fix while reading (wrap read_raw_bids in it).

The fixes patch module globals of MNE. Reads run on threads (download_all, n_jobs), and interleaved mock.patch enter/exit pairs restore the wrong function, so the patches are applied once by the first reader and removed by the last one.