Skip to content

Commit 9b67991

Browse files
committed
[FIX] Quick update to new template structure
1 parent 53a96a8 commit 9b67991

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

fmriprep/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
'pybids==0.6.5',
9999
'nitime',
100100
'nipype>=1.1.3',
101-
'niworkflows>=0.4.3',
101+
'niworkflows>=0.4.4',
102102
'statsmodels',
103103
'seaborn',
104104
'indexed_gzip>=0.8.2',

fmriprep/interfaces/cifti.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,9 @@ def _fetch_data(self):
130130
raise IOError("Freesurfer annotations for %s not found in %s" % (
131131
self.inputs.surface_target, self.inputs.subjects_dir))
132132

133-
label_space = 'tpl-OASISTRT20'
134-
label_dir = getters.get_oasis_dkt31_mni152()
135-
label_file = os.path.join(label_dir,
136-
'tpl-OASISTRT20_variant-DKT31_space-MNI152NLin2009cAsym.nii.gz')
133+
label_space = 'OASISTRT20'
134+
label_file = str(getters.get_template(label_space) /
135+
'tpl-OASISTRT20_variant-DKT31_space-MNI152NLin2009cAsym.nii.gz')
137136

138137
download_link = getters.OSF_PROJECT_URL + getters.OSF_RESOURCES[label_space][0]
139138
return annotation_files, label_file, download_link

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
niworkflows>=0.4.3
1+
niworkflows>=0.4.4
22
grabbit==0.2.3
33
pybids==0.6.5
44
versioneer

0 commit comments

Comments
 (0)