nipreps / mriqc

Automated Quality Control and visual reports for Quality Assessment of structural (T1w, T2w) and functional MRI of the brain
http://mriqc.readthedocs.io
Apache License 2.0
300 stars 132 forks source link

FIX: copy name attribute of dataset_description.json from input dataset #1187

Closed celprov closed 8 months ago

celprov commented 8 months ago

Currently, the name attribute in "dataset_description.json" in the MRIQC derivatives is always set to "MRIQC - MRI Quality Control"

I propose instead copying the name from the input dataset.

effigies commented 8 months ago

It's not really the same dataset. Could do something like: f"MRIQC - {name}"?

celprov commented 8 months ago

@effigies Given that in dataset_description.json in the derivative folder the field "DatasetType" indicates "derivative" and that "GeneratedBy" indicates "MRIQC", I thought this is enough information to distinguish that it's the MRIQC derivatives of the dataset . But of course, we can write "MRIQC - {name}"