bids-validator icon indicating copy to clipboard operation
bids-validator copied to clipboard

SIDECAR_KEY_REQUIRED not documented

Open jens-k opened this issue 1 year ago • 6 comments
trafficstars

I ran the BIDS validator on a super simple dataset (one subject, one session, just for testing) and got the error "SIDECAR_KEY_REQUIRED (SoftwareFilters)".

I cannot find any information about this issue. The validator provides a link but (as for any error or warning I have ever encountered), the content behind the link seems unrelated to my issue or too cryptic to make sense of it.

I therefore tried to look for "SIDECAR_KEY_REQUIRED" and "SIDECAR_KEY" (which is the type of error, so it should be way more common than the particular one I got about software filters) on the following websites:

  • BIDS specification (https://bids-specification.readthedocs.io/)
  • BIDS Manual (https://bids-standard.github.io/)

I have no hits for any of the terms. As this seems to be an entirely undocumented requirement/tag/error, I thought this might be considered a bug. I found a cryptic description of "SoftwareFilters" here: https://bids-specification.readthedocs.io/en/stable/glossary.html#softwarefilters-metadata but a normal user cannot be expected to understand this schema, and it does not fit to how I solved the problem.

The answer the user should get is: In the sidecar file "*****.json", we would have expected a key called "SoftwareFilters". This key is specific for the eeg datatype. You can fix the issue by adding another line "SoftwareFilters": "anystringiguess", to the json file.

Is there an effort to fix these error messages? If so, I'd be glad to contribute.

jens-k avatar Sep 17 '24 21:09 jens-k