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 d283729b2c5a853461d7d75a56eb8d5cb8125c0f..91d813acb3a2c633d65a7c6d8f403c05d2ea2332 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 +