Closed clairelbromley closed 7 years ago
I don't understand what is causing this issue
Date = 280716, Embryo = 5, Cut = 1 MException with properties:
identifier: 'MATLAB:catenate:structFieldBad'
message: 'Number of fields in structure arrays being concatenated do not match. Concatenation of structure arrays requires that ...'
cause: {0x1 cell}
stack: [5x1 struct]
genericInclude 1737
listData_Callback 506
gui_mainfcn 95
viewerMain 42
@(hObject,eventdata)viewerMain('listData_Callback',hObject,eventdata,guidata(hObject)) 0
Attempted to access axHandles(5); index out of bounds because numel(axHandles)=2.
Error in viewerMain>listData_Callback (line 533) imagesc(zeros(5),'Parent',axHandles(ind));
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in viewerMain (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)viewerMain('listData_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
Ok, so it seems that after importing the inclusion data, the viewer is unable to open any file that didn't previously have QC'd data associated with it...
Date = 190716, Embryo = 10, Cut = 1 MException with properties:
identifier: 'MATLAB:catenate:structFieldBad'
message: 'Number of fields in structure arrays being concatenated do not match. Concatenation of structure arrays requires that ...'
cause: {0x1 cell}
stack: [5x1 struct]
genericInclude 1737
listData_Callback 506
gui_mainfcn 95
viewerMain 42
@(hObject,eventdata)viewerMain('listData_Callback',hObject,eventdata,guidata(hObject)) 0
Attempted to access axHandles(5); index out of bounds because numel(axHandles)=2.
Error in viewerMain>listData_Callback (line 533) imagesc(zeros(5),'Parent',axHandles(ind));
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in viewerMain (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)viewerMain('listData_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
same bug, when trying to import data from 190716
In the case of 190716, the viewer cannot open a previous QC file, even when the extra columns for cut length and cut duration are added
Issue reported in first part of this thread is distinct and is caused by loaded metadata not having the same fields (cut duration, length) as the new metadata being assigned by viewer.
Date = 280716, Embryo = 4b, Cut = 1 MException with properties:
genericInclude 1737
listData_Callback 509
figure1_WindowKeyPressFcn 1958
gui_mainfcn 95
viewerMain 42
@(hObject,eventdata)viewerMain('figure1_WindowKeyPressFcn',hObject,eventdata,guidata(hObject)) 0
Attempted to access axHandles(6); index out of bounds because numel(axHandles)=2.
Error in viewerMain>listData_Callback (line 533) imagesc(zeros(5),'Parent',axHandles(ind));
Error in viewerMain>figure1_WindowKeyPressFcn (line 1958) listData_Callback(handles.listData, eventdata, handles)
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in viewerMain (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)viewerMain('figure1_WindowKeyPressFcn',hObject,eventdata,guidata(hObject))
Error while evaluating figure WindowKeyPressFcn