Skip to content

Commit

Permalink
Merge pull request #12 from BioJulia/hotfix/iterate
Browse files Browse the repository at this point in the history
hotfix/iterate
  • Loading branch information
CiaranOMara authored May 22, 2020
2 parents 060349b + 8b7a2ec commit 551a590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "XAM"
uuid = "d759349c-bcba-11e9-07c2-5b90f8f05f7c"
authors = ["Kenta Sato <[email protected]>", "Ben J. Ward <[email protected]>", "Ciarán O'Mara <[email protected]>"]
version = "0.2.3"
version = "0.2.4"

[deps]
Automa = "67c07d97-cdcb-5c2c-af73-a7f9c32a568b"
Expand Down
2 changes: 1 addition & 1 deletion src/bam/overlap.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit 551a590

@CiaranOMara
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BioJuliaBot register

@BioJuliaBot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: BioJulia/BioJuliaRegistry/75

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.4 -m "<description of version>" 551a5906c5593e3d1d1a4011f389cd319a14e12a
git push origin v0.2.4

Please sign in to comment.