BiRG / Metabolomics-Analysis-Toolbox

3 stars 0 forks source link

visualize_collections does not display bin boundaries (due to internal error?) #60

Open RadixSeven opened 12 years ago

RadixSeven commented 12 years ago

Nick Reo sent in the following bug report:


Isaie and I were using the Visualization Tool today in the MATLAB scripts to "Visualize Collections". This tool allows you to download a collection, apply a bin map to the collection, and then view the spectra using the scrolling buttons or bin values to navigate. I think the tool should show the bin boundaries (as vertical lines in the spectrum) when you click on a bin value. And the display should have a width approximately equal to the bin width (or maybe slightly greater than the bin width). Everything was working fine except for the display of bin boundary lines, which did not show on the screen. Also, an error message appeared each time I clicked on a new bin value. I assume that the error had something to do with the display of bin boundary lines.

Here is the error.

??? Undefined function or method 'get_bins' for input arguments of type 'struct'.

Error in ==> main>bins_listbox_Callback at 625
bins = get_bins(handles);

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> main at 42
    gui_mainfcn(gui_State, varargin{:});

Error in ==> @(hObject,eventdata)main('bins_listbox_Callback',hObject,eventdata,guidata(hObject))

??? Error while evaluating uicontrol Callback
DaManDOH commented 12 years ago

Will try to reproduce & debug presently.