Constructs a BidsDirectoryAccessor.
The absolute path to the dataset's root directory.
A map of relative file paths to their absolute paths.
The root directory of the dataset.
Map of relative file paths to file representations.
Organized paths.
The HED schema builder function.
Build a HED schema collection based on the defined BIDS schemas.
The description of the BIDS dataset being validated.
A Promise with the schema collection, or null if the specification is missing.
Static
SPECIAL_BIDS special directories.
Static
SUFFIXESBIDS suffixes.
Asynchronously reads the content of a file from the file system.
The relative path to the file within the dataset.
A promise that resolves with the file content as a string, or null if the file is not found or an error occurs.
Static
createFactory method to create a BidsDirectoryAccessor.
This method recursively reads the specified directory and creates a file map.
The absolute path to the dataset's root directory.
A Promise that resolves to a new BidsDirectoryAccessor instance.
A BIDS file accessor for local directory environments (e.g., Node.js).
This class reads files from the local file system.
Example