aramis-lab / clinica

Software platform for clinical neuroimaging studies
http://www.clinica.run/
Other
218 stars 72 forks source link

[ENH] Check that BIDS folders have a `dataset_description.json` file #1127

Closed NicolasGensollen closed 2 months ago

NicolasGensollen commented 2 months ago

As per the BIDS specifications, the dataset_description.json file is mandatory.

This PR proposes the following:

Note: An unused function _check_dataset_description_exists_in_caps() has been added to prepare for #1101

Requires data PR https://github.com/aramis-lab/clinica_data_ci/pull/54, https://github.com/aramis-lab/clinica_data_ci/pull/55, and https://github.com/aramis-lab/clinica_data_ci/pull/56 since some BIDS folders from the CI data do not have a dataset_description.json file.