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

Fixed statement

parent 9dca30a7
No related branches found
No related tags found
No related merge requests found
......@@ -269,7 +269,7 @@ class Tophat(val root: Configurable) extends BiopetCommandLineFunction with Refe
if (bowtie1 && !new File(bowtie_index).getParentFile.list().toList
.filter(_.startsWith(new File(bowtie_index).getName)).exists(_.endsWith(".bt2")))
throw new IllegalArgumentException("No bowtie1 index found for tophat")
else if (new File(bowtie_index).getParentFile.list().toList
else if (!new File(bowtie_index).getParentFile.list().toList
.filter(_.startsWith(new File(bowtie_index).getName)).exists(_.endsWith(".ebwt")))
throw new IllegalArgumentException("No bowtie2 index found for tophat")
}
......
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