File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
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_DTK31_TEMPLATE=" https://files.osf.io/v1/resources/fvuh8/providers/osfstorage/5b16f17aeca4a80012bd7542"
12
+ OASIS_DTK31_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 DTK31 atlas"
38
+ GET " $OASIS_DTK31_ATLAS " " $OASIS_DTK31_SHA256 "
35
39
echo " Done!"
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
You can’t perform that action at this time.
0 commit comments