Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions suit_ROI_summarize.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
images=spm_select(inf,'image','Select images to do statistics on');
end;

if endsWith(atlas, ',1')
atlas = atlas(1:end-2);
end;

if (~isstruct(atlas))
if (~exist(atlas,'file'))
error(sprintf('Atlas file: %s not found. \nYou may have to download github/DiedrichsenLab/cerebellar_atlases, \n or set the location of the atlas directory in suit_defaults.m',atlas));
Expand Down