Skip to content

Commit

Permalink
fix bug introduced in 0f80898 for xtag masses
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolasky committed Apr 21, 2023
1 parent 9f54844 commit 9f50ec4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VERSION = $(shell date +%Y%m%d)
BUILD = $(shell date +%Y%m%d%H%M)

TAG = v5.0.0
RC = RC24
RC = RC25

LDFLAGS = -ldflags "-w -s -extldflags -static -X main.version=${TAG} -X main.build=${BUILD}"

Expand Down
4 changes: 2 additions & 2 deletions lib/qua/iso.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func prepareLabelStructureWithMS2(dir, format, brand, plex string, tol float64,
}
}

if brand != "sclip" && i.Mz.DecodedStream[j] > 137 {
if brand != "sclip" && brand != "xtag" && i.Mz.DecodedStream[j] > 137 {
break
} else if i.Mz.DecodedStream[j] > 450 {
break
Expand Down Expand Up @@ -312,7 +312,7 @@ func prepareLabelStructureWithMS3(dir, format, brand, plex string, tol float64,
}
}

if brand != "sclip" && i.Mz.DecodedStream[j] > 137 {
if brand != "sclip" && brand != "xtag" && i.Mz.DecodedStream[j] > 137 {
break
} else if i.Mz.DecodedStream[j] > 450 {
break
Expand Down

0 comments on commit 9f50ec4

Please sign in to comment.