Slightly better error message

This commit is contained in:
Eric Banks 2012-04-23 09:37:28 -04:00
parent 7b5fbf9567
commit 63aa79df82
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ public class GenotypeLikelihoods {
likelihoodsAsVector[i] = Integer.parseInt(strings[i]) / -10.0; likelihoodsAsVector[i] = Integer.parseInt(strings[i]) / -10.0;
} }
} catch (NumberFormatException e) { } catch (NumberFormatException e) {
throw new UserException.MalformedVCF("The GL/PL tag contains non-integer values"); throw new UserException.MalformedVCF("The GL/PL tag contains non-integer values: " + likelihoodsAsString_PLs);
} }
return likelihoodsAsVector; return likelihoodsAsVector;
} else } else