Constructor for BidsWebAccessor.
The root directory of the dataset.
Map of relative file paths to browser File objects.
ReadonlydatasetThe root directory of the dataset.
Map of relative file paths to file representations.
Organized paths.
ReadonlyschemaThe HED schema builder function.
Static ReadonlySPECIAL_BIDS special directories.
Static ReadonlySUFFIXESBIDS suffixes.
Read a file's content via the browser File API.
The relative path to the file within the dataset.
The file contents, or null if the file is not found or cannot be read.
StaticcreateFactory method to create a BidsWebAccessor from a browser FileList.
The files from a webkitdirectory upload.
A Promise resolving to the accessor.
BIDS file accessor for browser environments.
Remarks
Reads file content using the browser File.text() API. Schemas come from the bundled copies or from GitHub, never from a local file.
Example