Changeset 4062


Ignore:
Timestamp:
Dec 14, 2007, 12:12:08 PM (15 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #837: Lowess plugin. Error: Sum of weigths in line_fit is not positive

Changed the error message to something more understandable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plugins/core/net/sf/basedb/plugins/LowessNormalization.java

    r4061 r4062  
    602602    if (sumW <= 0)
    603603    {
    604       throw new BaseException("Sum of weigths in line_fit is not positive");
     604      throw new BaseException("Sum of weigths in line_fit is not positive. " +
     605          "This may happen if there are too few data points in a block group. Please " +
     606          "increase the 'block group' parameter, or set it to 0 to include all blocks " +
     607          "in a single group");
    605608    }
    606609    double denom = sumW * sumAA - sumA * sumA;
Note: See TracChangeset for help on using the changeset viewer.