Check for precursorMZ!=null in DB entry
@@ -184,6 +184,7 @@ public class PeakListSpectralMatchTask extends AbstractTask {
// precursor mz
Boolean precursorMzTol = false;
if (msLevel >= 2) {
+ if (ident.getPrecursorMZ() != null)
precursorMzTol =
mzTolerance.checkWithinTolerance(ident.getPrecursorMZ(), row.getAverageMZ());
}
