Skip to content

Commit ebf0f3d

Browse files
committed
build: Fetch T2w templates
1 parent 9556e11 commit ebf0f3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/fetch_templates.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def fetch_MNI2009():
1616
Expected templates:
1717
1818
tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_T1w.nii.gz
19+
tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_T2w.nii.gz
1920
tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_T1w.nii.gz
21+
tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_T2w.nii.gz
2022
tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_desc-brain_mask.nii.gz
2123
tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_desc-brain_mask.nii.gz
2224
tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_desc-carpet_dseg.nii.gz
@@ -25,7 +27,7 @@ def fetch_MNI2009():
2527
"""
2628
template = 'MNI152NLin2009cAsym'
2729

28-
tf.get(template, resolution=(1, 2), desc=None, suffix='T1w')
30+
tf.get(template, resolution=(1, 2), desc=None, suffix=['T1w', 'T2w'])
2931
tf.get(template, resolution=(1, 2), desc='brain', suffix='mask')
3032
tf.get(template, resolution=1, atlas=None, desc='carpet', suffix='dseg')
3133
tf.get(template, resolution=2, desc='fMRIPrep', suffix='boldref')

0 commit comments

Comments
 (0)