Skip to content

Commit

Permalink
reduce debt
Browse files Browse the repository at this point in the history
  • Loading branch information
Adafede committed Jul 14, 2023
1 parent b3efe71 commit 07223fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/remove_above_precursor.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#'
#' @examples NULL
remove_above_precursor <- function(tol_mz = 0.5) {
function(x, precursor_mz, ...) {
x[!(x[, 1] >= precursor_mz - tol_mz), , drop = FALSE]
function(x, precursorMz, ...) {
x[!(x[, 1] >= precursorMz - tol_mz), , drop = FALSE]
}
}
2 changes: 1 addition & 1 deletion inst/scripts/get_gnps_tables.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require(

log_debug(
"This script",
crayon::green("prepares adducts")
crayon::green("gets gnps tables")
)
log_debug("Authors: ", crayon::green("AR"), "\n")
log_debug("Contributors: ...")
Expand Down

0 comments on commit 07223fa

Please sign in to comment.