Skip to content

Commit

Permalink
Fixed issues in DICOM-import routine..
Browse files Browse the repository at this point in the history
  • Loading branch information
andreashorn committed Nov 15, 2015
1 parent 84dc1bb commit fffa82e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file modified ea_imageclassifier.fig
Binary file not shown.
7 changes: 4 additions & 3 deletions ea_imageclassifier.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@

% Edit the above text to modify the response to help ea_imageclassifier

% Last Modified by GUIDE v2.5 23-Apr-2015 10:58:16
% Last Modified by GUIDE v2.5 15-Nov-2015 15:11:22

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_Singleton = 0;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @ea_imageclassifier_OpeningFcn, ...
Expand Down Expand Up @@ -218,9 +218,10 @@ function ea_keystr(icfig,event)


function finishandclose(current_imclass)
[~,current_imclass]=fileparts(current_imclass); % remove potential file extension
tmpoutdir=getappdata(gcf,'tmpoutdir');
append='';
while exist([tmpoutdir,filesep,current_imclass,append],'file')
while exist([tmpoutdir,filesep,current_imclass,append,'.nii'],'file')
append=[append,'2'];
end
[~,nametowrite]=fileparts(current_imclass);
Expand Down

0 comments on commit fffa82e

Please sign in to comment.