Python bids-validator for full directories?

Hi everyone,

I’m looking into using the python version of the bids validator ( GitHub - bids-standard/python-validator ). From what I see, it only allows checking the validity file by file (by using the is_bids method). Am I correct or did I miss something that allows testing the validity of a full dataset (with the top-level directory as input)?

For info, my general aim here is to use the python bids-validator after some python tools that we develop to generate bids datasets, in order to validate the dataset that will have been generated (and ultimately to insert it in a CI pipeline)

Thanks,

Sylvain

The Python validator is dramatically under-featured relative to the javascript validator. There is an effort to bring this up to speed, and an unreleased feature is a CLI that will validate all filenames. However, validating other BIDS rules remains a work in progress.

If you or anybody you’re working with is interested in contributing to the Python validator, they’re welcome to hop on the GitHub and we have calls every other Monday morning (11am US Eastern). I’d be happy to forward invite.