mriqc icon indicating copy to clipboard operation
mriqc copied to clipboard

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

Open celprov opened this issue 11 months ago • 2 comments

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.

celprov avatar Mar 05 '24 16:03 celprov

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

effigies avatar Mar 05 '24 16:03 effigies

@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}"

celprov avatar Mar 05 '24 16:03 celprov