Add longhand form to the error message to prevent users from posting borderline dumb posts to GS.

This commit is contained in:
Eric Banks 2011-09-27 20:26:36 -04:00
parent 3b6e43b7c4
commit 269b9826b6
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}