Skip to content

Commit

Permalink
removed check for spm2 which uses function that breaks in
Browse files Browse the repository at this point in the history
deployed(compiled) mode. #278
  • Loading branch information
soichih committed Apr 12, 2018
1 parent 07bcf64 commit d232a58
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mrAnatomy/VolumeUtilities/mrAnatLoadSpmVol.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@
elseif(strcmp(type,'double')), type = 'float64'; end
type = spm_type(type);
end
if(strcmp(spm('Ver'),'SPM2'))
V.dim = [V.dim type];
else
V.dt = [type 0];
end
V.dt = [type 0];
V.dat = fname.data;
if(makeUint8 && ~strcmp(class(V.dat),'uint8'))
V.dat = double(V.dat);
Expand Down

0 comments on commit d232a58

Please sign in to comment.