Skip to content

Commit

Permalink
fix: add spaces to warning/error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibb committed Dec 22, 2023
1 parent 82a3cf3 commit aaad44e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: MALDIquant
Version: 1.22.1
Date: 2023-03-20
Version: 1.22.1.99
Date: 2023-12-23
Title: Quantitative Analysis of Mass Spectrometry Data
Authors@R: c(
person(
Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ RELEASE HISTORY OF THE "MALDIquant" PACKAGE
===========================================


CHANGES IN MALDIquant development:
----------------------------------

* Fix spaces in error message of `determineWarpingFunctions`.

CHANGES IN MALDIquant VERSION 1.22.1 [2023-03-20]:
--------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions R/determineWarpingFunctions-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ determineWarpingFunctions <- function(l, reference, tolerance=0.002,
samples[i[1L]] - 1L, " to a reference peak.")
NA
} else if (length(arguments$x) < minPeaks) {
nomatchReporter("Could not match enough peaks in spectrum",
samples[i[1L]] - 1L, "to the reference peaks.\n",
nomatchReporter("Could not match enough peaks in spectrum ",
samples[i[1L]] - 1L, " to the reference peaks.\n",
minPeaks, " matches required, just ",
length(arguments$x), " found.")
NA
Expand Down

0 comments on commit aaad44e

Please sign in to comment.