I am using fMRIPrep (v20.0.1) and would have liked to use a custom template for normalization (not uploaded to the templateflow repository). I have followed the steps described in https://fmriprep.readthedocs.io/en/stable/spaces.html#custom-standard-spaces. When I run the code (using a custom template that is structured according to the templateflow structure) I get an error which says that the name of the template (here: ‘tpl-MyCustom’) is not a valid identifier - since it’s not part of a list of predefined templates (the exact error is: ValueError: space identifier “/imports/tpl-MyCustom” is invalid; Valid identifiers are: […]). However, I understood from the documentation that the use of a custom template is already a feature that is available in fMRIPrep 20.0.0. Did I misunderstand the documentation, and is the use of a custom template not yet available in fMRIPrep 20.0.1? If so, when do you think it might be available?
Hi, yes I am running fmriprep through a container (using the fmriprep-docker command), and the templateflow directory is mounted (tried with different directories to be sure).