(String path)
| 344 | } |
| 345 | |
| 346 | public static void checkInputFileFormat(String path) throws FileFormatException { |
| 347 | if (!FastaReader.isCorrectFormat(path) && !FastqReader.isCorrectFormat(path)) { |
| 348 | throw new FileFormatException("Unsupported file format detected in input file `" + path + "`. Only FASTA and FASTQ formats are supported."); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | public static void checkInputFileFormat(Iterable<String> paths) throws FileFormatException { |
| 353 | for (String p : paths) { |
no test coverage detected