-
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
Change schema issues #123
Comments
@effigies |
Sort of... We have a list of issues without implementations in the schema, but there are many that are one-off inside checks that would need to be aggregated. There are also issues that are defined in the validator: bids-validator/src/issues/list.ts Lines 4 to 207 in 9e8da14
I would like to autogenerate, which is why this has stalled a little bit. I think in the short term, we should probably just make a partial list and encourage users to add to it. If it's easier, we could make it a wiki and then periodically pull in updates to the rendered doc. |
Do I understand it correctly that the validator can be configured with the issue codes from both validator issues and schema rules? |
Yes. As much as possible, we've tried to encode issue information into the schema itself, for consistency in case of multiple validators. Some issues are only encountered by the validator. Some may be in the validator for now, but will be moved into the schema as more of BIDS is schematized. |
Thanks @effigies. I understand that. It is only not clear to me which issue codes can be used in the validator configuration. We're observing some weird behavior, but we need to investigate more. |
I think we are mostly using the right codes again. At least they seem to be working with the latest version of the validator and I can also find them, either in the list or in the schema. We previously used "CUSTOM_COLUMN_WITHOUT_DESCRIPTION" but this was replaced with "TSV_ADDITIONAL_COLUMNS_UNDEFINED". What is a bit confusing to me is that there is also "TSV_ADDITIONAL_COLUMNS_MUST_DEFINE", I am not sure what the difference is but we have never encountered this error. We also used to upgrade the ages over 89 to an error, but this does not seem to be working. The the code is in the schema but I cannot trigger the warning. Could it be that some the schema checks are not implemented? |
It seems with the new validator some of the defined issue codes have changed. We previously used this list to find the issue codes, but it seems some of them are not on the list anymore and others have changed. Some of these we have been using to upgrade warnings that we find critical to errors (for example, missing events files).
I think a more extensive documentation of these codes is planned (#6), but do the changes in this list reflect changes to the validator? And if not, is there a more complete list somewhere that we can use in the meantime?
The text was updated successfully, but these errors were encountered: