Skip to content
Snippets Groups Projects
Commit 66f1b6ec authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix exist

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