From 55816a484653f09b4a53eab04602c1705b7d9a58 Mon Sep 17 00:00:00 2001
From: Peter van 't Hof <p.j.van_t_hof@lumc.nl>
Date: Sat, 14 Feb 2015 15:11:52 +0100
Subject: [PATCH] Remove .exist, does not work on dry run

---
 .../nl/lumc/sasc/biopet/extensions/igvtools/IGVToolsCount.scala  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/igvtools/IGVToolsCount.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/igvtools/IGVToolsCount.scala
index 624d1f3c4..b62c852f9 100644
--- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/igvtools/IGVToolsCount.scala
+++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/igvtools/IGVToolsCount.scala
@@ -43,7 +43,6 @@ class IGVToolsCount(val root: Configurable) extends IGVTools {
 
   override def beforeGraph {
     super.beforeGraph
-    if (!input.exists()) throw new FileNotFoundException("Input bam is required for IGVToolsCount")
 
     wig.foreach(x => if (!x.getAbsolutePath.endsWith(".wig"))
       throw new IllegalArgumentException("WIG file should have a .wig file-extension"))
-- 
GitLab