From aed04cfc9ae324ac85b11f034f63b562526f9dae Mon Sep 17 00:00:00 2001 From: Mia Pras-Raves Date: Mon, 1 Jun 2026 11:18:23 +0200 Subject: [PATCH] changed break to next for proceeding to next step in for loop --- DIMS/PeakFinding.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DIMS/PeakFinding.R b/DIMS/PeakFinding.R index ab62a88..74f5d31 100644 --- a/DIMS/PeakFinding.R +++ b/DIMS/PeakFinding.R @@ -36,7 +36,7 @@ for (scanmode in scanmodes) { techreps_scanmode <- techreps_passed[grep(scanmode, techreps_passed[, 3]), ] # if techrep is ok, it will be found. If not, skip this techrep. if (length(grep(techrepl_name, techreps_scanmode)) == 0) { - break + next } # put mz and intensities into dataframe