From 7ea9196321b9b0aaf21ee72801eaa6ea695241a8 Mon Sep 17 00:00:00 2001 From: Eric Banks Date: Fri, 12 Aug 2011 11:18:14 -0400 Subject: [PATCH] Better error message for name/type clashes. --- .../src/org/broadinstitute/sting/utils/text/ListFileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/java/src/org/broadinstitute/sting/utils/text/ListFileUtils.java b/public/java/src/org/broadinstitute/sting/utils/text/ListFileUtils.java index 79271464b..61d53679a 100644 --- a/public/java/src/org/broadinstitute/sting/utils/text/ListFileUtils.java +++ b/public/java/src/org/broadinstitute/sting/utils/text/ListFileUtils.java @@ -160,7 +160,7 @@ public class ListFileUtils { rodBinding.getName(), rodBinding.getTribbleType(), builderForValidation.userFriendlyListOfAvailableFeatures())); if ( ! rodBinding.getType().isAssignableFrom(descriptor.getFeatureClass()) ) throw new UserException.BadArgumentValue(rodBinding.getName(), - String.format("Field %s expected type %s, but the type of the input file provided on the command line was %s", + String.format("Field %s expected type %s, but the type of the input file provided on the command line was %s. Please make sure that you have provided the correct file type and/or that you are not binding your rod to a name matching one of the available types.", rodBinding.getName(), rodBinding.getType(), descriptor.getName()));