sg-s/crabsort

Issue with clusterlib.manual

alec-hoyland opened this issue · 3 comments

Loading data and using dimensionality reduction algorithms (including external plugins) works fine, however I am getting this error with manual clustering.

Error using clusterlib.manual
No method 'manual' with matching signature found.

Error in csCluster.ManualCluster (line 43)
M = clusterlib.manual('ReducedData',R,'RawData',V_snippets,'labels',categorical(default_names),'AllowNewClasses',false);

Error in crabsort/clusterCallback (line 18)
self = cluster_func_handle(self);

Error in crabsort/makeGUI>@(varargin)self.clusterCallback(varargin{:}) (line 145)
handles.cluster_control = uicontrol(handles.cluster_panel,'Style','popupmenu','String',self.installed_plugins.csCluster,'units','normalized','Position',[.02 .6 .9
.2],'Callback',@self.clusterCallback,'FontSize',self.pref.fs);
 
Error while evaluating UIControl Callback.

mtools and crabsort are up-to-date with master.

sg-s commented

You need to rehash

rehash 
rehash toolbox
rehash toolboxcache

MATLAB is a little slow about "seeing" some changes, especially new classes.

sg-s commented

You're seeing this because clusterlib.manual is no more, and a new class (also called the same thing) now exists, which is much nicer and more robust.

fixed