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

inconsistent behavior for files of the form <suffix>.json files when in the root of the dataset

Open Remi-Gau opened this issue 2 years ago • 2 comments

For some data types the validator is fine with having <suffix>.json files in the root of the dataset:

  • pet.json
  • T1.json

But for some others it will throw an error:

  • eeg.json
  • nirst.json
  • asl.json

Neither of those lists is exhaustive.

It would be preferable for this behavior to be consistent.

Remi-Gau avatar Feb 22 '23 13:02 Remi-Gau

thinking of a way to systematically test for this:

I could maybe add a script to run in CI that adds a .json to some of the example datasets and checks if the validator accepts them.

Remi-Gau avatar Feb 22 '23 14:02 Remi-Gau