Skip to content

Commit

Permalink
fix for changes
Browse files Browse the repository at this point in the history
  • Loading branch information
heuermh committed Feb 23, 2021
1 parent 86446ce commit a895649
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -224,7 +224,7 @@ private[adam] object FileMerger extends Logging {
if (writeEmptyGzipBlock) {
os.write(BlockCompressedStreamConstants.EMPTY_GZIP_BLOCK)
} else if (writeCramEOF) {
CramIO.issueEOF(CramVersions.DEFAULT_CRAM_VERSION, os)
CramIO.writeCramEOF(CramVersions.DEFAULT_CRAM_VERSION, os)
}

// flush and close the output stream
Expand Down
Expand Up @@ -97,7 +97,7 @@ private[adam] object ParallelFileMerger extends Logging {
if (writeEmptyGzipBlock) {
os.write(BlockCompressedStreamConstants.EMPTY_GZIP_BLOCK)
} else if (writeCramEOF) {
CramIO.issueEOF(CramVersions.DEFAULT_CRAM_VERSION, os)
CramIO.writeCramEOF(CramVersions.DEFAULT_CRAM_VERSION, os)
}

os.flush()
Expand Down

0 comments on commit a895649

Please sign in to comment.