-
Notifications
You must be signed in to change notification settings - Fork 107
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
[BUG]? Python bids-validator returns true on non-bids folder names #1821
Comments
I'm a little inclined to mark this wontfix. If you would like to do filename validation in Python, the bidsschematools validator is going to be better supported. |
Actually, I think the better fix is to depend on |
+1 to remove the python validator from the JS repo and potentially even deprecating it in favor of the new schema based python validator. |
This will be fixed with #1967 In [1]: from bids_validator import BIDSValidator
In [2]: BIDSValidator().is_bids('/sub_07/eeg/sub-07_task-matchingpennies_events.tsv')
Out[2]: False |
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 and validator version(s):
The text was updated successfully, but these errors were encountered: