From 8c88e41a6b59bd638c243e8927e641ad1bab3635 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 13 Dec 2024 11:49:18 -0500 Subject: [PATCH] build: Fetch T2w templates --- scripts/fetch_templates.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/fetch_templates.py b/scripts/fetch_templates.py index c9b134cbc..68ab5403e 100755 --- a/scripts/fetch_templates.py +++ b/scripts/fetch_templates.py @@ -16,7 +16,9 @@ def fetch_MNI2009(): Expected templates: tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_T1w.nii.gz + tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_T2w.nii.gz tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_T1w.nii.gz + tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_T2w.nii.gz tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_desc-brain_mask.nii.gz tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_desc-brain_mask.nii.gz tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-01_desc-carpet_dseg.nii.gz @@ -25,7 +27,7 @@ def fetch_MNI2009(): """ template = 'MNI152NLin2009cAsym' - tf.get(template, resolution=(1, 2), desc=None, suffix='T1w') + tf.get(template, resolution=(1, 2), desc=None, suffix=['T1w', 'T2w']) tf.get(template, resolution=(1, 2), desc='brain', suffix='mask') tf.get(template, resolution=1, atlas=None, desc='carpet', suffix='dseg') tf.get(template, resolution=2, desc='fMRIPrep', suffix='boldref')