From b440bc3c4d3b77d2f062d422387a7337557f3a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20O=27Mara?= Date: Fri, 17 Apr 2020 15:52:50 +1000 Subject: [PATCH] Update documentation --- docs/src/man/hts-files.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/man/hts-files.md b/docs/src/man/hts-files.md index de87b32..3f57ef7 100644 --- a/docs/src/man/hts-files.md +++ b/docs/src/man/hts-files.md @@ -58,6 +58,7 @@ In-place reading reuses a pre-allocated object for every record and less memory reader = open(BAM.Reader, "data.bam") record = BAM.Record() while !eof(reader) + empty!(record) read!(reader, record) # do something end