Error message fail. Failed to supply one of the valid interval file types.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3153 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
60d54e69f3
commit
14b8101d45
|
|
@ -292,7 +292,7 @@ public class GenomeAnalysisEngine {
|
|||
|
||||
/**
|
||||
* Check if string argument was intented as a file
|
||||
* Accepted file extensions: .list, .interval_list, .bed, .picard
|
||||
* Accepted file extensions: .bed .list, .interval_list, .bed, .picard
|
||||
*/
|
||||
private static boolean isFile(String str) {
|
||||
// should we define list of file extensions as a public array somewhere?
|
||||
|
|
@ -304,7 +304,7 @@ public class GenomeAnalysisEngine {
|
|||
|
||||
if(new File(str).exists())
|
||||
throw new StingException("Interval argument looks like a filename, but does not have one of " +
|
||||
"the supported extensions (.bed, .picard, .interval_list, or .intervals). " +
|
||||
"the supported extensions (.bed, .list, .picard, .interval_list, or .intervals). " +
|
||||
"Please rename your file with the appropriate extension.");
|
||||
|
||||
else return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue