Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the BIDS_validator on the subjects given in --participant_label only #95

Open
civier opened this issue Jun 8, 2021 · 1 comment

Comments

@civier
Copy link

civier commented Jun 8, 2021

Otherwise, the validity test can take a very long time (if the BIDS dataset has hundreds of subjects or more)
If it's not supported downstream in the BIDS validator, maybe can make a temporary BIDS directory consisting of only the desired subjects using symbolic links, and run the BIDS validator there.

@Lestropie
Copy link
Collaborator

The latter suggestion would be quite the hack, given the concern would be equally applicable to all BIDS Apps. There is surely a neater way of doing this; and if there isn't, it's probably worth escalating up the chain.

I'm not very familiar with the validator, but looking at their latest README, I see a couple of options:

  1. Following parsing of the desired participant / subject labels, auto-generate a config file that excludes all data outside of the user's selection for processing, and pass that to the validator when invoking.

  2. Over time, hopefully the Python capabilities will extend beyond just checking compatibility of file extensions to running validation on subsets of a dataset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants