Skip to content

Commit

Permalink
Merge pull request #432 from dpolasky/dev
Browse files Browse the repository at this point in the history
fix bug introduced in 0f80898 for xtag masses
  • Loading branch information
AimeeD90 committed May 30, 2023
2 parents 9f54844 + 9f50ec4 commit 1428576
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 1428576

Please sign in to comment.