File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -815,9 +815,18 @@ def init_spaces(checkpoint=True):
815
815
# Ensure user-defined spatial references for outputs are correctly parsed.
816
816
# Certain options require normalization to a space not explicitly defined by users.
817
817
# These spaces will not be included in the final outputs.
818
- if spaces .get_spaces (cifti = True ):
818
+ if cifti_output == '91k' :
819
+ spaces .add (
820
+ Reference ('fsLR' , {'den' : '32k' , 'volspace' : 'MNI152NLin6Asym' , 'volres' : '2' })
821
+ )
822
+ elif cifti_output == '170k' :
823
+ spaces .add (
824
+ Reference ('fsLR' , {'den' : '32k' , 'volspace' : 'MNI152NLin6Asym' , 'volres' : '1' })
825
+ )
826
+
827
+ if spaces .get_spaces (cifti = (True ,)):
819
828
# Figure out the surface spaces and volume spaces we need
820
- cifti_spaces = spaces .get_spaces (cifti = True )
829
+ cifti_spaces = spaces .get_standard (cifti = ( True ,) )
821
830
for cifti_space in cifti_spaces :
822
831
surface_space = cifti_space
823
832
volume_space = cifti_space
You can’t perform that action at this time.
0 commit comments