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
Viewer: directory-format recordings (.mefd/.ds/BTi) never get a viewer row #252
MEF3 iEEG datasets (e.g. on004696, DOI 10.82901/nemar.on004696) show no signal viewer. Two independent causes; this issue is the frontend one (the backend one is nemarOrg/nemar-cli#1172).
Frontend gap: a MEF3 recording is a directory (sub-01_..._ieeg.mefd/), and the tree only attaches viewer affordances to file rows. classifyFile (src/lib/bids-tree.ts:27) recognizes only set/edf/bdf/vhdr/fif file extensions, and render-dir-listing.ts renders .mefd/ as a plain expandable directory, so annotateZarrRows never finds a data-preview-type="eeg" button to mark available. The same gap applies to CTF MEG .ds directories and 4D/BTi directory recordings — none of them can ever surface the viewer today, even where zarr stores exist.
The producer side is already aligned: the zarr index keys directory recordings by the directory path (..._ieeg.mefd -> ..._ieeg.zarr, see generate_zarr.py), and the website's storeRelPath (src/lib/zarr-base.ts) strips the extension the same way, so once a dir row carries data-preview-path=<dir path>, matching and store URL construction work unchanged.
Proposed change:
Classify a directory whose name ends in .mefd / .ds (and the BTi directory pattern the producer uses) as a signal recording.
Render it as a hybrid row: keep the expand affordance (users still want to browse the member files), add the viewer preview button + format badge (MEFD / CTF DS), with data-preview-path set to the directory path so the existing zarr annotate/click/prefetch flow applies as-is.
Availability, failure reasons, and the "still generating" state come from the index exactly like file recordings.
Verification: blocked on nemarOrg/nemar-cli#1172 for on004696 stores; the frontend can be built against any already-converted CTF .ds dataset if one exists, or verified on staging after the backfill.
Activity
neuromechanist commentedon Sep 1, 2026
Shipped in PR #257, merged to staging via epic PR #270 (merge commit 9e047c1). Closing by hand: closing keywords only fire on the default branch.