Commit 8faed309 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added close to reader

parent 6ede8254
......@@ -106,7 +106,9 @@ object BedRecordList {
} catch {
case e: Exception =>
Logging.logger.error(s"Parsing line number $lineCount failed on file: ${bedFile.getAbsolutePath}")
reader.close()
throw e
}
reader.close()
}
}
\ No newline at end of file
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