1
0
Fork 0
mirror of https://github.com/MillironX/XAM.jl.git synced 2024-11-14 22:33:14 +00:00

Merge branch 'master' into develop

This commit is contained in:
Ciarán O'Mara 2020-05-22 13:03:58 +10:00
commit 81dbf41798
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
name = "XAM"
uuid = "d759349c-bcba-11e9-07c2-5b90f8f05f7c"
authors = ["Kenta Sato <bicycle1885@gmail.com>", "Ben J. Ward <ward9250@gmail.com>", "Ciarán O'Mara <Ciaran.OMara@utas.edu.au>"]
version = "0.2.3"
version = "0.2.4"
[deps]
Automa = "67c07d97-cdcb-5c2c-af73-a7f9c32a568b"

View file

@ -47,7 +47,7 @@ end
function Base.iterate(iter::OverlapIterator)
refindex = findfirst(isequal(iter.refname), iter.reader.refseqnames)
if refindex == 0
if refindex === nothing
throw(ArgumentError("sequence name $(iter.refname) is not found in the header"))
end
@assert iter.reader.index !== nothing