Better Exception message when can't find annotation value in variant recalibrator.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3434 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
rpoplin 2010-05-25 21:15:50 +00:00
parent bf530d23de
commit 062b316881
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ public final class VariantGaussianMixtureModel extends VariantOptimizationModel
} else {
try {
value = Double.parseDouble( (String)vc.getAttribute( annotationKey ) );
} catch( NumberFormatException e ) {
} catch( Exception e ) {
throw new StingException("No double value detected for annotation = " + annotationKey +
" in variant at " + vc.getLocation() + ", reported annotation value = " + vc.getAttribute( annotationKey ) );
}