bids-validator
bids-validator copied to clipboard
Validator for the Brain Imaging Data Structure
The BIDS Specification allows for **echo** and **chunk** with non-parametric structural MR images. The bids-validator does not. **bids-validator** https://github.com/bids-standard/bids-validator/blob/1163824c837910ba6ceebc38e3098438221f8bf1/bids-validator/bids_validator/rules/file_level_rules.json#L3 **BIDS Specification** Modality specific files section and the Entity Table appendix....
Test from the old validator: https://github.com/bids-standard/bids-validator/blob/master/bids-validator/tests/utils/files.spec.js#L104 This was ported to the new validator: https://github.com/bids-standard/bids-validator/blob/master/bids-validator/src/tests/local/empty_files.test.ts#L25 New validator flat out ignores all the contents of *.ds/ directories. We should figure out a...
BIDS states that `NonlinearGradientCorrection` is "RECOMMENDED, but REQUIRED if [PET](https://bids-specification.readthedocs.io/en/stable/modality-specific-files/positron-emission-tomography.html) data are present". This is not implemented in the legacy validator: https://github.com/search?q=repo%3Abids-standard%2Fbids-validator+NonlinearGradientCorrection&type=code Nor, in fact, is it actually followed in...
I initially asked about this in https://github.com/bids-standard/bids-specification/issues/869. For some file collections (e.g., multi-echo or complex-values fMRI data), the files all come from the same acquisition and MUST have the same...
- closes #1755 ~~Participants was being defined as a const and assigned null. Usual use case for consts is to give it an actual array or object with reference and...
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...
Was playing around a bit last week and noticed that the python version of the validator seems to misclassify non-bids folder names as compliant. See: ```python >>> from bids_validator import...
It seems from the ieeg-BIDS [documentation](https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/04-intracranial-electroencephalography.html#electrode-description-_electrodestsv) that the _electrodes.tsv file is _required_ for ieeg data. However, there are now several pretty impressive iEEG datasets on OpenNeuro [dataset without electrode positions](https://openneuro.org/datasets/ds003876/versions/1.0.2)...
Do you think it would be interesting to create a conda-forge recipe to enable installing the validator with just a `conda install -c conda-forge bids-validator`?
Raised here. Could reproduce with validator 1.12.0 by modifying one of the ASL examples. From my understanding and according to the spec a single M0scan could be intended for several...