Investigation

hotfix/issue-31-virtualoffset
Ciarán O’Mara 3 years ago
parent d370ebe28c
commit 55d338d262

@ -21,6 +21,7 @@ function BGZFStreams.virtualoffset(stream::BGZFStreams.BGZFStream)
i = BGZFStreams.ensure_buffered_data(stream)
if i == 0
block = stream.blocks[end]
@info "zero case" stream stream.blocks block.block_offset block.size
else
block = stream.blocks[i]
end

Loading…
Cancel
Save