File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -840,7 +840,7 @@ def init_workflow_spaces(execution_spaces: SpatialReferences, age_months: int):
840
840
spaces .add (Reference ('MNI152NLin6Asym' , {'res' : vol_res }))
841
841
# Ensure a non-native version of MNIInfant is added as a target
842
842
cohort = cohort_by_months ('MNIInfant' , age_months )
843
- spaces .add (Reference ('MNIInfant' , {'cohort' : cohort }))
843
+ spaces .add (Reference ('MNIInfant' , {'cohort' : cohort , 'res' : 2 }))
844
844
845
845
return spaces
846
846
@@ -955,10 +955,10 @@ def get_MNIInfant_key(spaces: SpatialReferences) -> str:
955
955
key = None
956
956
for space in spaces .references :
957
957
# str formats as <reference.name>:<reference.spec>
958
- if 'MNIInfant' in str (space ) and 'res-native' not in str (space ):
958
+ if 'MNIInfant' in str (space ) and 'res-2' in str (space ):
959
959
key = str (space )
960
960
break
961
961
962
962
if key is None :
963
- raise KeyError (f'MNIInfant not found in SpatialReferences: { spaces } ' )
963
+ raise KeyError (f'MNIInfant (resolution 2x2x2) not found in SpatialReferences: { spaces } ' )
964
964
return key
You can’t perform that action at this time.
0 commit comments