Skip to content

Commit 698fa3c

Browse files
committed
FIX: Use old template map in BOLD resample
1 parent 988a423 commit 698fa3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fmriprep/workflows/bold/resampling.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
# See https://github.com/poldracklab/fmriprep/issues/768
3030
PatchedConcatenateLTA as ConcatenateLTA
3131
)
32+
from ..anatomical import TEMPLATE_MAP
3233

3334
from .util import init_bold_reference_wf
3435

@@ -259,7 +260,7 @@ def _aslist(in_value):
259260

260261
gen_ref = pe.Node(GenerateSamplingReference(), name='gen_ref',
261262
mem_gb=0.3) # 256x256x256 * 64 / 8 ~ 150MB)
262-
template_str = nid.TEMPLATE_MAP[template]
263+
template_str = TEMPLATE_MAP[template]
263264
gen_ref.inputs.fixed_image = op.join(nid.get_dataset(template_str), '1mm_T1.nii.gz')
264265

265266
mask_mni_tfm = pe.Node(

0 commit comments

Comments
 (0)