Skip to content

Include "SUIT" in list of valid spaces #969

@mnoergaard

Description

@mnoergaard

What would you like to see added in this software?

Given that SUIT exists as a template in templateflow, it would be nice to have this included in the list of output spaces. This was noticed in work nipreps/petprep#129, getting this error message "Process Process-2:
Traceback (most recent call last):
File "/Users/martinnorgaard/anaconda3/envs/petprep/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/Users/martinnorgaard/anaconda3/envs/petprep/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/Users/martinnorgaard/Dropbox/Mac/Documents/GitHub/petprep/petprep/cli/workflow.py", line 127, in build_workflow
retval['workflow'] = init_petprep_wf()
File "/Users/martinnorgaard/Dropbox/Mac/Documents/GitHub/petprep/petprep/workflows/base.py", line 92, in init_petprep_wf
single_subject_wf = init_single_subject_wf(subject_id)
File "/Users/martinnorgaard/Dropbox/Mac/Documents/GitHub/petprep/petprep/workflows/base.py", line 297, in init_single_subject_wf
spaces.add(Reference(atlas_tpl, {}))
File "", line 43, in init
__attr_validator_space(self, __attr_space, self.space)
File "/Users/martinnorgaard/anaconda3/envs/petprep/lib/python3.10/site-packages/niworkflows/utils/spaces.py", line 261, in _check_name
raise ValueError(
ValueError: space identifier "SUIT" is invalid.
Valid identifiers are: Fischer344, MNI152Lin, MNI152NLin2009aAsym, MNI152NLin2009aSym, MNI152NLin2009bAsym, MNI152NLin2009bSym, MNI152NLin2009cAsym, MNI152NLin2009cSym, MNI152NLin6Asym, MNI152NLin6Sym, MNI305, MNIColin27, MNIInfant, MNIPediatricAsym, MouseIn, NKI, NMT31Sym, OASIS30ANTs, PNC, RESILIENT, UNCInfant, VALiDATe29, WHS, dhcpAsym, dhcpSym, dhcpVol, fsLR, fsaverage, onavg, T1w, T2w, anat, fsnative, func, run, sbref, session, individual, dwi, asl, petref"

Do you have any interest in helping implement the feature?

Yes

Additional information / screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions