bids-validator
bids-validator copied to clipboard
Validator for the Brain Imaging Data Structure
The [BIDS spec for motion data](https://bids-specification.readthedocs.io/en/stable/modality-specific-files/motion.html#motion-recording-data) specifies: > Data from different tracking systems MUST be stored in different *_tracksys-_motion.tsv files, each of which is accompanied by *_tracksys-_motion.json and *_tracksys-_channels.tsv files....
ATM [it](https://github.com/bids-standard/bids-validator/blob/53c6add56b3db09b4da65f39fe93e083c53163bf/CONTRIBUTING.md?plain=1#L114) still talks about changing regexes etc. It should be - prepare branch/PR against bids-specification with changes for the BEP - follow instructions [here](https://deno.land/x/[email protected]#modifying-and-building-a-new-schema) and/or [there](https://github.com/bids-standard/bids-validator/blob/master/bids-validator/src/README.md#modifying-and-building-a-new-schema) which boil down...
Would be nice to have it spit out tsv/json via cli flag instead of printing the table. Table is not great for copying and pasting.
Structural derivatives
According to [Tabular files](https://bids-specification.readthedocs.io/en/stable/02-common-principles.html#tabular-files): > TSV files MUST be in UTF-8 encoding. We currently don't validate this, which leads to situations when data is encoded in, e.g., ISO-8859 (https://github.com/OpenNeuroOrg/openneuro/issues/2515). This...
Most of the examples in the specification give relative file paths that are lower case. I was wondering what the case requirements were for matching files for inheritance? Is there...
Upon uploading to OpenNeuro, I get an error for uploading an EDF file with `.EDF` extension. Apparently only `.edf` is valid, however, the error message is not so clear about...
A file with those columns should probably be an `events.tsv` in this case. Issue raised in this PR https://github.com/bids-standard/bids-validator/pull/1367#issue-1029095653
In 1.7.3 and 1.8.1 validator will fail with EISDIR error trying to read .bidsignore as if it were a file. We should fail better here. Found an old install of...
We use the schema for JSON validation and that's great -> however, for some failures (or use cases), I would like to send a specific warning to the user. Example:...