Closed yarikoptic closed 1 month ago
The example just has warnings. We would like to have a way of suppressing HED warnings for BIDS validation. We warn of a number of things like -- when you extend tags or there are column values that appear in a .tsv but don't appear in the JSON file containing annotations for other values in that column. None of these are HED errors --- really information rather than errors. Should we turn them off by default in the BIDS validator or is there a mechanism for specifying that HED warnings should be turned off?
FYI @happy5214
but it seems that there is no easy way ATM to instruct deno bids-validator to run only the tests concerning with HED validation.
We would really like to have this feature so that users could more easily debug their HED independently. The other option is to run a separate HED validation as explained in hed-standard/hed-examples#405, but it would be ideal to allow the BIDS validator to run a HED validator step.
Is there no general way to suppress warnings? If not, all HED warnings fall under two issue codes: 107 (HED_INTERNAL_WARNING
), which to my knowledge is entirely unused and probably should be deleted; and 105 (HED_WARNING
), which includes all other (i.e. all) warnings.
Thanks everyone for chiming in! I finally found the issue I was looking for when filing this one:
In our particular case we would like to "quickly" (i.e. more quick than running full validation) address HED issues for which we got
but it seems that there is no easy way ATM to instruct deno bids-validator to run only the tests concerning with HED validation.