Opened 11 years ago

Closed 11 years ago

#454 closed defect (fixed)

NanoDrop import wizard fails to import files with multiple measurements of the same sample in some cases

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v2.11
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

For some reason it is sometimes required to re-measure the concentration of a sample. When this happens, two (or more) lines are generated in the output file. When importing to BASE, Reggie should use data from the line with the highest concentration value.

While this works in some cases, it will fail if the measurement with the higher value comes after the measurement with the lower value. The reason is that the counter that is keeping track of the number of imported data lines is incremented when it shouldn't be, since the current line is replacing an older line. In the end, the result is a mismatch between the actual and expected number of data lines (always 24) which is reported as an error.

Change History (2)

comment:1 by olle, 11 years ago

Design update:

  • JSP file reggie/resources/extraction_registration.jsp should be updated in function parseNanoDropFile(data) to only update the counter numImported for the first value of a sample id, but not when replacing a lower value.

comment:2 by olle, 11 years ago

Resolution: fixed
Status: newclosed

(In [1801]) Fixes #454. JSP file reggie/resources/extraction_registration.jsp updated in function parseNanoDropFile(data) to only update the counter numImported for the first value of a sample id, but not when replacing a lower value.

Note: See TracTickets for help on using tickets.