Closed bpinsard closed 6 months ago
In fact the dwi patterns in that config file are missing a bunch of entities from the spec above. Dumbish question: is there a way to know which spec version each pybids version tracks? my 9pm brain can't find it.
that file is missing a bunch of TB1* top-level json too.
The config does not follow a specific version of the spec as far as I can tell.
We usually update it when we discover blind spots (like you just did).
Top level jsons are the biggest blind spots I think.
Ideally we'd like to one day be able rely on the BIDS schema but in the mean time can you open a PR to update this?
Currently, it seems that the config here does not allow dwi sbref, so
build_path
fails whendatatype='dwi'
andsuffix='sbref'
https://github.com/bids-standard/pybids/blob/master/bids/layout/config/bids.json while it is valid in the spec https://bids-specification.readthedocs.io/en/stable/modality-specific-files/magnetic-resonance-imaging-data.html#diffusion-imaging-data