Skip to content

Commit

Permalink
Merge branch 'hotfix/memory'
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranOMara committed Apr 12, 2020
2 parents 6ae1180 + 3e1a802 commit 0e0908f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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.1"
version = "0.2.2"

[deps]
Automa = "67c07d97-cdcb-5c2c-af73-a7f9c32a568b"
Expand Down
2 changes: 2 additions & 0 deletions src/sam/reader.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ end

function Base.read!(rdr::Reader, rec::Record)

empty!(rec.fields) #Note: data is pushed to the fields field, and other field data is overwritten. #TODO: distinguish for inplace reading pattern.

cs, ln, f = readrecord!(rdr.state.stream, rec, (rdr.state.state, rdr.state.linenum))

rdr.state.state = cs
Expand Down

2 comments on commit 0e0908f

@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/64

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.2 -m "<description of version>" 0e0908f9852a2c1c3dc6d1214f993e3e364aeb73
git push origin v0.2.2

Please sign in to comment.