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:
parent
bf530d23de
commit
062b316881
|
|
@ -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 ) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue