Skip to content
Snippets Groups Projects
Commit 09fe4d50 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix fai check

parent 6ac2ce38
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,6 @@ object Reference {
*/
def requireFai(fastaFile: File): Unit = {
val fai = new File(fastaFile.getAbsolutePath + ".fai")
require(fai.exists(), "Reference is missing a fai file")
if (fai.exists()) {
if (!IndexedFastaSequenceFile.canCreateIndexedFastaReader(fastaFile))
Logging.addError(s"Index of reference cannot be loaded, reference: $fastaFile")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment