From c40dda46de5edb9c50b50db54ab6fe8c32ac9373 Mon Sep 17 00:00:00 2001
From: Peter van 't Hof <p.j.van_t_hof@lumc.nl>
Date: Mon, 26 Oct 2015 17:33:17 +0100
Subject: [PATCH] Remove file checking

---
 .../src/main/scala/nl/lumc/sasc/biopet/core/Version.scala       | 2 --
 1 file changed, 2 deletions(-)

diff --git a/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/Version.scala b/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/Version.scala
index d283729b2..91d813acb 100644
--- a/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/Version.scala
+++ b/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/Version.scala
@@ -54,8 +54,6 @@ object Version extends Logging {
     if (versionCache.contains(versionCommand)) return versionCache.get(versionCommand)
     else if (versionCommand == null || versionRegex == null) return None
     else {
-      val exe = new File(versionCommand.trim.split(" ")(0))
-      if (!exe.exists()) return None
       val stdout = new StringBuffer()
       val stderr = new StringBuffer()
       def outputLog = "Version command: \n" + versionCommand +
-- 
GitLab