Difference between revisions of "Support:Detailed tutorial on bug report"

From COMKAT wiki
Jump to navigation Jump to search
(Failure to read in PET data that is 2-byte integer)
(bug report)
 
Line 1: Line 1:
This is the tutorial for submitting bug reports.
 
 
== Upload attachment ==
 
'''If you do not wish to include attachments, please proceed to the next step.'''
 
 
Please note that we only allow attachments in the zip format. Please compress your files before submission. Also yo have to log in to upload files.
 
 
First, click on the 'Upload file' link.
 
{| border="1" cellspacing="0"
 
|[[Image:Upload file screen 1.JPG]]
 
|}
 
<br>Specify which file you wish to upload:
 
 
{| border="1" cellspacing="0"
 
|[[Image:Upload file screen 2.JPG]]
 
|}
 
<br>Click 'Upload file'. Wait for the following page to show:
 
 
{| border="1" cellspacing="0"
 
|[[Image:Upload file screen 3.JPG]]
 
|}
 
<br>Copy the link location to your clipboard. You will need it later.
 
  
 
== Submit bug report ==
 
== Submit bug report ==
  
Bug reported by Landon Locke Email: Landon25@virginia.edu
+
Bug reported by Peihan Li  Email:peihanl@aliyun.com
 +
OS: Microsoft Windows 8.1 (Build 9600)
  
OS: Microsoft Windows XP Version 5.1 (Build 2600: Service Pack 2)
+
MATLAB: MATLAB Version (R2016a)
  
MATLAB: MATLAB Version 7.7.0.471 (R2008b)
+
COMKAT: R4.2a
 
 
COMKAT: R3.2
 
  
 
Bug description:  
 
Bug description:  
When I try to load in a PET image data set that is 4-byte integer using readASPIRo, the code works fine.  If the PET data was reconstructed as 2-byte integer, then the code fails and the following error is display in Matlab:
+
When I try to load in the test data named "Rat_03072007_Input"which was downloaded from comkat wiki,Although the Time Activity Curve in COMKT Image Tool has generated, I can not see the concentration curve in COMKAT GUI and simultaneously  the following errors are displayed in MATLAB.
 
 
??? Error using ==> reshape
 
To RESHAPE the number of elements must not change.
 
  
Error in ==> readASIPro>readSegsFrames at 622
+
warning: Possible deprecated use of get on a Java object with an HG Property 'Parent' and
        fileData = reshape(fileData, [sz(1:3)] );
+
'mouseClickedCallback'
 +
> In select_color>select_color_OpeningFcn (line 123)
 +
  In gui_mainfcn (line 220)
 +
  In select_color (line 51)
 +
  In comkatimagetool>VOIDefinition (line 1507)
 +
  In comkatimagetool>ROIPopupSelectionCallback (line 1472)
 +
  In gui_mainfcn (line 95)
 +
  In comkatimagetool (line 157)
 +
  In uiwait (line 81)
 +
  In comkatimagetool>comkatimagetool_OpeningFcn (line 496)
 +
  In gui_mainfcn (line 220)
 +
  In comkatimagetool (line 69)
 +
  In main_GUI>getDatafromROI_Callback (line 4360)
 +
  In gui_mainfcn (line 95)
 +
  In main_GUI (line 67)
 +
  In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)main_GUI('getDatafromROI_Callback',hObject,eventdata,guidata(hObject))
 +
When "VOI / get" is called, the output parameter "value" (which may also include other parameters) is not assigned.
 +
???error comkatimagetool>comkatimagetool_OutputFcn (line 587)
 +
                    tac = get(handles.VOIs{now_ivd}(now_voi),'TAC');
  
Error in ==> readASIPro>getPixelData at 508
+
???error gui_mainfcn (line 262)
            [data, segidx, subheader_out] = readSegsFrames(fid, sz, 'int16',
+
        [varargout{1:nargout}] = feval(gui_State.gui_OutputFcn, gui_hFigure, [],
            frame, segment, delta, outputformat, subheader);
+
        gui_Handles);
  
Error in ==> readASIPro at 391
+
???error comkatimagetool (line 69)
            [data, si, sh_out] = getPixelData(fs_data, mh.data_type, sz, frame,
+
        [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
            segment, [], outputformat, sh);
 
  
Our PET data is 69 frames (23 frames for each of the three gates).  For some reason, the FileData variable does not contain any data (0x0) once frame 36 is reached, but is fine up to this point.  I have no idea what is wrong with frame 36. 
+
???error main_GUI>getDatafromROI_Callback (line 4360)
 +
    CIT_outputtemp = comkatimagetool('ComkatGUI');
  
 +
???error gui_mainfcn (line 95)
 +
        feval(varargin{:});
  
Attachment(optional):
+
???error main_GUI (line 67)
 +
    gui_mainfcn(gui_State, varargin{:});
  
Additional contact information (optional):
+
???error
 +
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)main_GUI('getDatafromROI_Callback',hObject,eventdata,guidata(hObject))
 +
Error Calculating UIControl Callback

Latest revision as of 03:42, 16 November 2017

Submit bug report

Bug reported by Peihan Li Email:peihanl@aliyun.com OS: Microsoft Windows 8.1 (Build 9600)

MATLAB: MATLAB Version (R2016a)

COMKAT: R4.2a

Bug description: When I try to load in the test data named "Rat_03072007_Input"which was downloaded from comkat wiki,Although the Time Activity Curve in COMKT Image Tool has generated, I can not see the concentration curve in COMKAT GUI and simultaneously the following errors are displayed in MATLAB.

warning: Possible deprecated use of get on a Java object with an HG Property 'Parent' and 'mouseClickedCallback' > In select_color>select_color_OpeningFcn (line 123)

 In gui_mainfcn (line 220)
 In select_color (line 51)
 In comkatimagetool>VOIDefinition (line 1507)
 In comkatimagetool>ROIPopupSelectionCallback (line 1472)
 In gui_mainfcn (line 95)
 In comkatimagetool (line 157)
 In uiwait (line 81)
 In comkatimagetool>comkatimagetool_OpeningFcn (line 496)
 In gui_mainfcn (line 220)
 In comkatimagetool (line 69)
 In main_GUI>getDatafromROI_Callback (line 4360)
 In gui_mainfcn (line 95)
 In main_GUI (line 67)
 In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)main_GUI('getDatafromROI_Callback',hObject,eventdata,guidata(hObject)) 

When "VOI / get" is called, the output parameter "value" (which may also include other parameters) is not assigned. ???error comkatimagetool>comkatimagetool_OutputFcn (line 587)

                   tac = get(handles.VOIs{now_ivd}(now_voi),'TAC');

???error gui_mainfcn (line 262)

       [varargout{1:nargout}] = feval(gui_State.gui_OutputFcn, gui_hFigure, [],
       gui_Handles);

???error comkatimagetool (line 69)

       [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});

???error main_GUI>getDatafromROI_Callback (line 4360)

   CIT_outputtemp = comkatimagetool('ComkatGUI');

???error gui_mainfcn (line 95)

       feval(varargin{:});

???error main_GUI (line 67)

   gui_mainfcn(gui_State, varargin{:});

???error matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)main_GUI('getDatafromROI_Callback',hObject,eventdata,guidata(hObject)) Error Calculating UIControl Callback