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:
commit
81dbf41798
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
name = "XAM"
|
name = "XAM"
|
||||||
uuid = "d759349c-bcba-11e9-07c2-5b90f8f05f7c"
|
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>"]
|
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]
|
[deps]
|
||||||
Automa = "67c07d97-cdcb-5c2c-af73-a7f9c32a568b"
|
Automa = "67c07d97-cdcb-5c2c-af73-a7f9c32a568b"
|
||||||
|
|
|
@ -47,7 +47,7 @@ end
|
||||||
|
|
||||||
function Base.iterate(iter::OverlapIterator)
|
function Base.iterate(iter::OverlapIterator)
|
||||||
refindex = findfirst(isequal(iter.refname), iter.reader.refseqnames)
|
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"))
|
throw(ArgumentError("sequence name $(iter.refname) is not found in the header"))
|
||||||
end
|
end
|
||||||
@assert iter.reader.index !== nothing
|
@assert iter.reader.index !== nothing
|
||||||
|
|
Loading…
Reference in a new issue