Commit 20dab674 authored by bow's avatar bow
Browse files

Properly close file writers

parent 3ced376f
......@@ -160,6 +160,8 @@ object FastqSync extends ToolCommand {
}
syncIter(pre.iterator.asScala.toStream, seqA.iterator.asScala.toStream, seqB.iterator.asScala.toStream)
seqOutA.close()
seqOutB.close()
(numDiscA, numDiscB, numKept)
}
......
Supports Markdown
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