Skip to content

Commit b492436

Browse files
author
Ciarán O'Mara
committed
Merge tag 'v0.4.2' into develop
v0.4.2
2 parents 6b7966b + 9a022a7 commit b492436

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99
- Added conversion capability for SAM to BAM ([#63](https://github.com/BioJulia/XAM.jl/pull/63)).
1010

11+
## [0.4.2]
12+
13+
### Fixed
14+
- Corrected `next_tag_position` method ([#79](https://github.com/BioJulia/XAM.jl/pull/79)).
15+
1116
## [0.4.1]
1217

1318
### Fixed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "XAM"
22
uuid = "d759349c-bcba-11e9-07c2-5b90f8f05f7c"
33
authors = ["Kenta Sato <bicycle1885@gmail.com>", "Ben J. Ward <ward9250@gmail.com>", "Ciarán O'Mara <Ciaran.OMara@utas.edu.au>"]
4-
version = "0.4.1"
4+
version = "0.4.2"
55

66
[deps]
77
Automa = "67c07d97-cdcb-5c2c-af73-a7f9c32a568b"

src/bam/auxdata.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function next_tag_position(data::Vector{UInt8}, p::Int)
163163
eltyp = Char(data[p])
164164
elsize = eltyp == 'c' || eltyp == 'C' ? 1 :
165165
eltyp == 's' || eltyp == 'S' ? 2 :
166-
eltyp == 'i' || eltye == 'I' || eltyp == 'f' ? 4 :
166+
eltyp == 'i' || eltyp == 'I' || eltyp == 'f' ? 4 :
167167
error("invalid type tag: '$(Char(eltyp))'")
168168
p += 1
169169
n = unsafe_load(Ptr{Int32}(pointer(data, p)))

0 commit comments

Comments
 (0)