The BIDS Validator checks that a dataset directory conforms to the Brain Imaging Data Structure (BIDS) specification. It reports errors, warnings, and suggestions. The current PyPI version is 1.14.7.post0 (a legacy version); the actively developed JavaScript/Node version is 2.4.1. The Python package is a wrapper around the Node.js validator and is in maintenance mode. Release cadence is irregular.
pip install bids-validatorVerified import paths — ran on the pinned version, not inferred.
Validate a BIDS dataset and print all issues.
Use the Node.js validator by running 'bids-validator' via npx or install the npm package. For Python-only workflows, consider using the 'bids-validator' command-line tool installed with pip, but expect limited updates.
Use 'from bids_validator import BIDSValidator'.
Install Node.js (>=12) from https://nodejs.org/ or via your package manager.
Use the Node.js version for full BIDS schema support (v1.11.x). For Python, consider other tools like 'pybids' for programmatic access.
Run 'import bids_validator' (or 'from bids_validator import BIDSValidator').
After pip install, try 'python -m bids_validator' or install the Node.js version via npm.
Ensure Node.js is installed and run 'npx bids-validator' or 'npm install -g bids-validator'.