From e9a3492b502addfadf7b9b84a9bde51f94864818 Mon Sep 17 00:00:00 2001 From: Peter van 't Hof <p.j.van_t_hof@lumc.nl> Date: Mon, 24 Aug 2015 19:20:40 +0200 Subject: [PATCH] Fixed statement --- .../src/main/scala/nl/lumc/sasc/biopet/extensions/Tophat.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Tophat.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Tophat.scala index f8b684e1e..d32eb27a3 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Tophat.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/Tophat.scala @@ -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") } -- GitLab