bids-validator
bids-validator copied to clipboard
Validator for the Brain Imaging Data Structure
For #1639. `bids-validator/src/deps/hed-validator` dependency was generated by running `npm run build` on latest commit for hed-javascript: https://github.com/hed-standard/hed-javascript/commit/bba927b7b713f6aad7864b9aabc8b9afe70456cf Two main functions located in `bids-validator/src/validators/hed.ts` are `hedAccumulator` and `hedValidate` `hedAccumulator` is called...
Currently always exits 0
``` $ deno run --allow-read --allow-env https://deno.land/x/bids_validator/bids-validator.ts . Warning Implicitly using latest version (v1.14.2-dev.0) for https://deno.land/x/bids_validator/bids-validator.ts error: Relative import path "std/log/levels.ts" not prefixed with / or ./ or ../ at...
TL;DR: The deno validator app does not output an error when a required file, such as dataset_description.json, is not present in the dataset. Since the Deno validator is currently in...
The participants.tsv file does not contain the same subject ID as the folder name. One may reasonably assume that the subjects are in the same order as the folder in...
https://github.com/bids-standard/bids-validator/blob/2d923f501bcf97b14e612833fb1bcb3af39f2b67/bids-validator/bids_validator/tsv/non_custom_columns.json#L68 In BIDS we have `phenotype/.tsv` but not `phenotype.tsv`. See: https://bids-specification.readthedocs.io/en/stable/modality-agnostic-files.html#phenotypic-and-assessment-data brought up by @VisLab in #1876
Just tested it and validation passes without warning if leave an empty string (`""`) or just spaces (`" "`) for the dataset_descrtiption name . Same for `Authors`. This probably deserves...
I am using [email protected] to validate [fnirs_automaticity](https://github.com/bids-standard/bids-examples/tree/master/fnirs_automaticity) in `bids-examples`. It validates. However, when I add a second assessment such as in [phenotype.zip](https://github.com/bids-standard/bids-validator/files/13823654/phenotype.zip) it gives the following error: > 1: [ERR]...
Relates to already filed - https://github.com/bids-standard/bids-validator/issues/1639 but main motivation for me ATM was to possibly integrate with - nwb validator (in Python): https://pynwb.readthedocs.io/en/stable/validation.html - validates against base schema - nwb...
Our team frequently utilizes the JS bids-validator and appreciates its robust capabilities. Given the increasing adoption of Python in the neuroimaging community and some challenges we face using the Node-based...