From 269b9826b65e9e375924ec0fb82c2b258cb33f2a Mon Sep 17 00:00:00 2001 From: Eric Banks Date: Tue, 27 Sep 2011 20:26:36 -0400 Subject: [PATCH] Add longhand form to the error message to prevent users from posting borderline dumb posts to GS. --- .../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 9d4b23a8b..c146bf4d4 100644 --- a/public/java/src/org/broadinstitute/sting/utils/text/ListFileUtils.java +++ b/public/java/src/org/broadinstitute/sting/utils/text/ListFileUtils.java @@ -80,7 +80,7 @@ public class ListFileUtils { unpackedReads.add(new SAMReaderID(inputFileName,inputFileNameTags)); } else { - throw new UserException.CommandLineException(String.format("The GATK reads argument (-I) supports only BAM files with the .bam extension and lists of BAM files " + + throw new UserException.CommandLineException(String.format("The GATK reads argument (-I, --input_file) supports only BAM files with the .bam extension and lists of BAM files " + "with the .list extension, but the file %s has neither extension. Please ensure that your BAM file or list " + "of BAM files is in the correct format, update the extension, and try again.",inputFileName)); }