paumailo / ephys

Automatically exported from code.google.com/p/ephys
0 stars 0 forks source link

RF_analysis SQL syntax issue #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using DB_Browser and 
2. Selecting a Experiment, tank, eFRA block and channel the
3. RF_analysis in Analysis Tools activates and I'll then push "Go"

What is the expected output? What do you see instead?

Used to popup with the FRA of the desired channel

What version of the product are you using? On what operating system?

R2012b

Please provide any additional information below.

Now we get mySQL syntax errors:

Error using mym
You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to
use near '' at line 1

Error in RF_analysis>InitializeRF (line 80)
ID = mym('SELECT block FROM v_ids WHERE unit = {Si}',h.unit_id);

Error in RF_analysis>RF_analysis_OpeningFcn (line 46)
h = InitializeRF(h);

Error in gui_mainfcn (line 221)
    feval(gui_State.gui_OpeningFcn, gui_hFigure, [],
    guidata(gui_hFigure), varargin{:});

Error in RF_analysis (line 30)
    gui_mainfcn(gui_State, varargin{:});

Error in DB_Browser>LaunchAnalysisTool (line 424)
feval(tool);

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in DB_Browser (line 35)
    gui_mainfcn(gui_State, varargin{:});

Error while evaluating uicontrol Callback

Original issue reported on code.google.com by ejbre...@gmail.com on 14 Nov 2013 at 5:42

GoogleCodeExporter commented 8 years ago
Fixed

Original comment by ejbre...@gmail.com on 9 Dec 2013 at 11:05

GoogleCodeExporter commented 8 years ago

Original comment by daniel.s...@gmail.com on 9 Dec 2013 at 11:08