Skip to content

Commit

Permalink
bump version to address ppm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yufree committed Sep 7, 2023
1 parent e23e961 commit 6130a69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: enviGCMS
Type: Package
Title: GC/LC-MS Data Analysis for Environmental Science
Version: 0.7.2
Version: 0.7.3
Authors@R: c(person(given = "Miao", family = "YU",
role = c("aut", "cre"),
email = "[email protected]",
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# enviGCMS 0.7.3

- fix getalign2 to accept mz vector without ordering
- fix getalign ppm bug

# enviGCMS 0.7.2

- adope MoNA msp format for getMSP
- fix getalign2 to accept mz vector without ordering

# enviGCMS 0.7.1

Expand Down
4 changes: 2 additions & 2 deletions R/anno.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ getalign2 <-
rtn <- rt[!duplicated(yyy)]
mzr <-
data.table::as.data.table(cbind.data.frame(
mzmin = mzn * (1 - ppm * 1e-05),
mzmax = mzn * (1 + ppm * 1e-05),
mzmin = mzn * (1 - ppm * 1e-06),
mzmax = mzn * (1 + ppm * 1e-06),
mz = mzn,
rt = rtn
))
Expand Down

0 comments on commit 6130a69

Please sign in to comment.