Skip to content

Automatically infer cohort only if infant output space is requested without cohort info #414

Open
@tsalo

Description

@tsalo

A short summary of what you would like to see in NiBabies.

I think that the current approach in init_workflow_spaces will add MNIInfant with the appropriate cohort if no specific output spaces were requested by the user. I was thinking we could make this explicit in the output space specification, with something like MNIInfant (no cohort) or MNIInfant:cohort-auto (reserved value to infer the cohort).

That way you could have stuff like --output-spaces MNIInfant:cohort-1:cohort-auto MNI152NLin6Asym and it would still generate MNIInfant outputs with the age-appropriate cohort.

Do you have any interest in helping implement the feature?

Yes!

Add any additional information or context about the request here.

This has implications for other infant preprocessing pipelines, like QSIPrep (and maybe eventually ASLPrep).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions