Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Mar 18, 2024

Conversation

celprov
Copy link
Collaborator

@celprov celprov commented Mar 5, 2024

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
Copy link
Member

effigies commented Mar 5, 2024

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

@celprov
Copy link
Collaborator Author

celprov commented Mar 5, 2024

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

mriqc/utils/bids.py Outdated Show resolved Hide resolved
@oesteban oesteban merged commit 2a6793e into nipreps:master Mar 18, 2024
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants