File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ OASIS_TEMPLATE="https://files.osf.io/v1/resources/fvuh8/providers/osfstorage/584
8
8
OASIS_SHA256=" d87300e91346c16f55baf6f54f5f990bc020b61e8d5df9bcc3abb0cc4b943113"
9
9
NKI_TEMPLATE=" https://files.osf.io/v1/resources/fvuh8/providers/osfstorage/59cd90f46c613b02b3d79782"
10
10
NKI_SHA256=" 4bba067f6675d15be96b205cb227e18a540673fd7e4577e13feedcef3a6f0ec5"
11
+ OASIS_DKT31_TEMPLATE=" https://files.osf.io/v1/resources/fvuh8/providers/osfstorage/5b16f17aeca4a80012bd7542"
12
+ OASIS_DKT31_SHA256=" 623fa7141712b1a7263331dba16eb069a4443e9640f52556c89d461611478145"
11
13
12
14
GET (){
13
15
URL=$1 ; SHA256=$2 ;
@@ -32,4 +34,6 @@ echo "Getting OASIS template"
32
34
GET " $OASIS_TEMPLATE " " $OASIS_SHA256 "
33
35
echo " Getting NKI template"
34
36
GET " $NKI_TEMPLATE " " $NKI_SHA256 "
37
+ echo " Getting OASIS DKT31 template"
38
+ GET " $OASIS_DKT31_TEMPLATE " " $OASIS_DKT31_SHA256 "
35
39
echo " Done!"
Original file line number Diff line number Diff line change @@ -28,4 +28,4 @@ dependencies:
28
28
- svgutils
29
29
- nitime
30
30
- nilearn
31
- - niworkflows>=0.4.0
31
+ - niworkflows>=0.4.1
Original file line number Diff line number Diff line change 71
71
'pybids>=0.5.1' ,
72
72
'nitime' ,
73
73
'nipype>=1.0.4' ,
74
- 'niworkflows>=0.4.0 ' ,
74
+ 'niworkflows>=0.4.1 ' ,
75
75
'statsmodels' ,
76
76
'nipype' ,
77
77
'seaborn' ,
Original file line number Diff line number Diff line change @@ -130,12 +130,10 @@ def _fetch_data(self):
130
130
raise IOError ("Freesurfer annotations for %s not found in %s" % (
131
131
self .inputs .surface_target , self .inputs .subjects_dir ))
132
132
133
- label_space = 'oasis_dkt31_mni152'
134
- label_template = os .path .dirname (getters .get_dataset (label_space ))
135
- label_file = os .path .join (label_template ,
136
- 'oasis_trt20_DKT31-MNI152NLin' ,
137
- ('OASIS-TRT-20_jointfusion_DKT31_CMA_labels'
138
- '_in_MNI152NLin2009cAsym_2mm_v2.nii.gz' ))
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' )
139
137
140
138
download_link = getters .OSF_PROJECT_URL + getters .OSF_RESOURCES [label_space ][0 ]
141
139
return annotation_files , label_file , download_link
Original file line number Diff line number Diff line change 1
- niworkflows >= 0.4.0
1
+ niworkflows >= 0.4.1
2
2
versioneer
You can’t perform that action at this time.
0 commit comments