Commit 66f1b6ec authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix exist

parent 21d0cae7
......@@ -230,7 +230,7 @@ object BiopetCommandLineFunction extends Logging {
if (!BiopetCommandLineFunction.executableMd5Cache.contains(executable)) {
val newExe = BiopetCommandLineFunction.executableCache(executable)
if (new File(newExe).exists()) {
val is = new FileInputStream(executable)
val is = new FileInputStream(newExe)
val cnt = is.available
val bytes = Array.ofDim[Byte](cnt)
is.read(bytes)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment