Skip to content

Commit

Permalink
Changes to get the GUI resizing stuff to work.
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinbranson committed Jan 25, 2017
1 parent c6166b8 commit 8b63b64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file modified ExploreBehaviorAnatomyCorrelations.fig
Binary file not shown.
5 changes: 5 additions & 0 deletions ExploreBehaviorAnatomyCorrelations.m
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,7 @@ function pushbutton_update_Callback(hObject, eventdata, handles)
EBAC_DATA.bamap.clustermap = [];
end
set(handles.uipanel_cluster,'Visible','off');
set(handles.uipanel_supervoxel,'Visible','on');

function ClearStatus(handles)

Expand Down Expand Up @@ -1250,8 +1251,10 @@ function ClearStatusCallback(hObj,varargin)

if strcmp(handles.datatype,'cluster'),
set(handles.uipanel_cluster,'Visible','on');
set(handles.uipanel_supervoxel,'Visible','off');
else
set(handles.uipanel_cluster,'Visible','off');
set(handles.uipanel_supervoxel,'Visible','on');
end
if strcmp(handles.datatype,'exprcorr'),
set(handles.text_map_expr_corr,'Visible','on');
Expand Down Expand Up @@ -2311,6 +2314,7 @@ function menu_analyze_clustersv_Callback(hObject, eventdata, handles)
handles.datatype = 'cluster';
handles = ClusterSupervoxels(handles);
set(handles.uipanel_cluster,'Visible','on');
set(handles.uipanel_supervoxel,'Visible','off');
guidata(hObject,handles);


Expand All @@ -2324,6 +2328,7 @@ function pushbutton_stop_map_clustering_Callback(hObject, eventdata, handles)
handles.svmaskid = -1;

set(handles.uipanel_cluster,'Visible','off');
set(handles.uipanel_supervoxel,'Visible','on');

handles = UpdateMap(handles);
handles = UpdateMaskBoundary(handles);
Expand Down

0 comments on commit 8b63b64

Please sign in to comment.