Skip to content

Commit 988a423

Browse files
committed
FIX: Copy old TEMPLATE_MAP
1 parent 81316fd commit 988a423

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

fmriprep/workflows/anatomical.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
)
5151
from ..utils.misc import fix_multi_T1w_source_name, add_suffix
5252

53+
TEMPLATE_MAP = {
54+
'MNI152NLin2009cAsym': 'mni_icbm152_nlin_asym_09c',
55+
}
56+
5357

5458
# pylint: disable=R0914
5559
def init_anat_preproc_wf(skull_strip_template, output_spaces, template, debug,
@@ -330,7 +334,7 @@ def init_anat_preproc_wf(skull_strip_template, output_spaces, template, debug,
330334
)
331335

332336
if 'template' in output_spaces:
333-
template_str = nid.TEMPLATE_MAP[template]
337+
template_str = TEMPLATE_MAP[template]
334338
ref_img = op.join(nid.get_dataset(template_str), '1mm_T1.nii.gz')
335339

336340
t1_2_mni.inputs.template = template_str

0 commit comments

Comments
 (0)