diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala index a9cb89d93e36333d91e0d030a95328ac31802435..83aa87155236e9b2752407fb4bd39ce21dc36824 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala @@ -119,10 +119,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab private def getVersionInternal: String = { if (versionCommand == null || versionRegex == null) return "N/A" val exe = new File(versionCommand.trim.split(" ")(0)) - if (!exe.exists()) { - //BiopetQScript.addError("executable '" + exe + "' does not exist") - return "N/A" - } + if (!exe.exists()) return "N/A" val stdout = new StringBuffer() val stderr = new StringBuffer() def outputLog = "Version command: \n" + versionCommand +