Export to GitHub

imrmc - issue #1

No error reported when iMRMC fails to import an input file


Posted on Jan 31, 2014 by Massive Kangaroo

What steps will reproduce the problem? 1. Select input method -> Input raw data 2. Browse to the attached data file 3. --- What is the expected output? An error should be produced because the file is missing the definition of a truth state. --- What do you see instead? Nothing

Please use labels and text to provide additional information.

Attachments

Comment #1

Posted on Jan 31, 2014 by Massive Kangaroo

Typical errors in formatting are as follows:

The truth state of every case must be defined once and only once. ERROR: Truth states not defined for all the cases. ERROR: Truth states multiply defined. The row containing "BEGIN DATA:" must be typed exactly as given. ERROR: "BEGIN DATA:" not all upper-case. ERROR: "BEGIN DATA:" not terminated with a colon. Commas with no spaces must be used to separate the four fields of data describing each ROC rating. ERROR: Spaces, tabs, or semicolons separate the data in the list of ROC ratings. Only commas should be used.

Comment #2

Posted on Jan 31, 2014 by Massive Kangaroo

(No comment was entered for this change.)

Comment #3

Posted on Feb 1, 2014 by Massive Kangaroo

(No comment was entered for this change.)

Comment #4

Posted on Feb 6, 2014 by Massive Panda

Comment deleted

Comment #5

Posted on Feb 6, 2014 by Massive Panda

(No comment was entered for this change.)

Comment #6

Posted on Feb 10, 2014 by Massive Kangaroo

(No comment was entered for this change.)

Comment #7

Posted on Mar 2, 2014 by Massive Kangaroo

I have come across a new error. When reading the header information, there are four important rows that might be encountered that may or may not be present. They are identified as N0: N1: NR: NM:

If something is wrong with the formatting of these rows, there is no error. The file input just fails silently.

Comment #8

Posted on Mar 3, 2014 by Massive Kangaroo

Made a lot of progress by adding data checks with pop-up button windows for error reporting. You can realize many errors by using "Input Raw Data" method and browsing to the files in "imrmc/000related/FilesTest". The error reporting is crude and should be improved. For one thing, it should stop the current processes and reset iMRMC (the equivalent of hitting the reset button in GUIInterface). The data checks and error reporting that I wrote can be found in mrmc.InputFile.verifySizesAndGetIDs mrmc.InputFile.processScoresAndTruth

Comment #9

Posted on Mar 3, 2014 by Massive Kangaroo

Issue 8 has been merged into this issue.

Comment #10

Posted on Mar 5, 2014 by Massive Kangaroo

I believe that this issue is fixed.

Status: Fixed

Labels:
Type-Defect Priority-High TTC-2014-03-5