-
Notifications
You must be signed in to change notification settings - Fork 7
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
config wildcard ignores: ignored #133
Comments
No, the matches are literals. We hadn't really considered the possibility of globs. |
From my limited understanding of the code, it seems that the config ignores are merged with |
Globs are supported in .bidsignore. The config takes partial issues and recategorizes any issue found that matches them into the appropriate bucket. It's a completely different mechanism. |
Ok, do you agree that it would be a useful feature to support glob? bids-validator/src/issues/datasetIssues.ts Lines 37 to 47 in da2c6e6
to be able to use globs for comparing location with something like:
Or we could choose to use the leading slash to distinguish real patterns from globs? |
I am trying to ignore a set of errors when running the validator on a datalad without any file fetched.
Here is the config I wrote following https://github.com/bids-standard/bids-validator/blob/main/docs/user_guide/command-line.md#configuration-file
But the errors keep showing up (except the last ignore
SCANS_FILENAME_NOT_MATCH_DATASET
).I tried different type of globbing patterns, but none seems to work.
Are wildcard patterns supported? If so in which format?
Thanks!
The text was updated successfully, but these errors were encountered: