Open sappelhoff opened 6 years ago
Apparently the BrainVision file system will (as for now) be the only multi-file system in BIDS once the EEG spec is merged.
EDIT: in MEG we have the file format ending in
.ds
, which is a directory ... so also kind of multifile
I have started to write some code to validate the BrainVision file triplets here. The aim is to make this an npm package for easy integration into the BIDS-validator.
It could then conveniently go right below this line:
@robertoostenveld @CPernet
edit: This is now located here: https://github.com/bids-standard/bids-validator/blob/c9901bc9c53480a8b9b13fedbe6ab5ae7a265b5c/validators/bids/groupFileTypes.js#L48
and needs some work
reopening because the changes implemented in #701 broke the browser version of the validator and were reverted
relevant conversation in https://github.com/bids-standard/bids-validator/issues/718
Some data are saved in a multi-file system. For example the Brainvision format for EEG data contains three files:
.eeg
binary eeg data.vhdr
meta data in text format.vmrk
event markers in text format relating to the.eeg
I don't know if there are multi-file systems accepted somewhere in BIDS up to now ... but as soon as BEP006_EEG will be merged, there will be that case (at the latest).
Once the BIDS-validator encounters data of a "multi-file" system, it might make sense to kick in some assertion that all files of the multi-file system are present such as in this pseudo-code (python-like because I don't know much about js):
This might be relevant in general and not just for EEG, so I am posting it as an issue here.