Opened 9 years ago

Closed 9 years ago

#803 closed enhancement (fixed)

Handle NanoDrop concentrations < 0

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: Reggie v3.5
Component: net.sf.basedb.reggie Keywords:


In some cases when there is no DNA/RNA in a sample the NanoDrop concentration measurements yields a negative value.

The "RNA/DNA/FlowThrough registration wizard" will accept this, but when storing the information a negative original quantity is calculated which is not allowed by BASE.

The wizard should be modified so that the original quantity is never less than 0.

The workaround so far has been to modify the data file and replace all negative concentration values with 0.

Change History (2)

comment:1 by Nicklas Nordborg, 9 years ago

Status: newassigned

comment:2 by Nicklas Nordborg, 9 years ago

Resolution: fixed
Status: assignedclosed

(In [3470]) Fixes #803: Handle NanoDrop concentrations < 0

Negative concentrations are displayed with a small warning icon. The calculated original quantity is not allowed to get below 0 to avoid exceptions.

The debug code has been updated to generate negative values in 10% of the cases.

Also fixes an array indexing problem related to #749 that caused the submit button to not work.

Note: See TracTickets for help on using tickets.