Skip to content

Commit

Permalink
Add macroscale human connectome download option.
Browse files Browse the repository at this point in the history
  • Loading branch information
ningfei committed Jun 3, 2019
1 parent 5dd0c3f commit a4dcf2a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ea_checkinstall.m
Expand Up @@ -14,6 +14,7 @@
'2009b Nonlinear Flip Transform'
'7T Cardiac Gated FLASH MRI (Backdrop visualization)'
'7T Ex Vivo 100um Brain Atlas (Backdrop visualization)'
'Macroscale Human Connectome Atlas (Yeh 2018)'
'Structural group connectome 20 subjects Gibbs-tracker (Horn 2013)'
'Structural group connectome 169 NKI subjects Gibbs-tracker (Horn 2016)'
'Structural group connectome 32 Adult Diffusion HCP subjects GQI (Horn 2017)'
Expand All @@ -25,6 +26,7 @@
'nlinflip'
'7tcgflash'
'7tev100um'
'macroscalehc'
'groupconnectome2013'
'groupconnectome2016'
'groupconnectome2017'
Expand Down Expand Up @@ -127,6 +129,25 @@
else
disp('7T Ex Vivo 100um Brain Atlas (Backdrop visualization) is installed.')
end
case 'macroscalehc'
checkf=[ea_space,'atlases',filesep,'Macroscale Human Connectome Atlas (Yeh 2018)',filesep,'atlas_index.mat'];
force=ea_alreadyinstalled(checkf,checkonly,robot);
if checkonly
success=~force;
return;
end
if force==-1
success=-1;
return;
end

if ~exist(checkf,'file') || force
success=ea_downloadasset('Macroscale Human Connectome Atlas',...
[ea_space,'atlases',filesep,'Macroscale_Human_Connectome_Atlas_Yeh_2018.zip'],...
'macroscalehc');
else
disp('Macroscale Human Connectome Atlas is installed.')
end
case 'bigbrain'
checkf=[ea_space,'bigbrain_2015_100um_bb.nii'];
force=ea_alreadyinstalled(checkf,checkonly,robot);
Expand Down

0 comments on commit a4dcf2a

Please sign in to comment.