Skip to content

Commit

Permalink
minor bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Junpeng Lao committed Jun 13, 2016
1 parent af17cd5 commit 9266fad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions GUI/imap_gui.m
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,15 @@ function check_columns_Callback(hObject, ~, handles)
handles.data = new_data;
guidata(hObject, handles);

%create filename to save the results!
filename=datestr(now);
filename=strrep(filename,':','_'); %Replace colon with underscore
filename=strrep(filename,'-','_');%Replace minus sign with underscore
filename=strrep(filename,' ','_');%Replace space with underscore
mkdir(filename)
addpath(filename)
handles.filename = filename;
guidata(hObject,handles);
%% saving the column in the summary_information
if isunix ==0
summary_information.column_name = handles.colnames ;
Expand Down Expand Up @@ -291,19 +300,7 @@ function select_predictors_Callback(hObject, ~, handles)
handles.mapType = mapType;
guidata(hObject,handles);
if counter2 ==1 % counter to make sure that the user select one of the 3 choices


%create filename to save the results!
filename=datestr(now);
filename=strrep(filename,':','_'); %Replace colon with underscore
filename=strrep(filename,'-','_');%Replace minus sign with underscore
filename=strrep(filename,' ','_');%Replace space with underscore
mkdir(filename)
addpath(filename)
handles.filename = filename;
guidata(hObject,handles);



if check_number_fixations == 1

set(handles.smoothing_1, 'enable','on');
Expand Down
Binary file modified Matlab_Installation_Package/iMap4.mlappinstall
Binary file not shown.

0 comments on commit 9266fad

Please sign in to comment.