Skip to content

Commit aed04cf

Browse files
committed
changed break to next for proceeding to next step in for loop
1 parent 04e3616 commit aed04cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DIMS/PeakFinding.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ for (scanmode in scanmodes) {
3636
techreps_scanmode <- techreps_passed[grep(scanmode, techreps_passed[, 3]), ]
3737
# if techrep is ok, it will be found. If not, skip this techrep.
3838
if (length(grep(techrepl_name, techreps_scanmode)) == 0) {
39-
break
39+
next
4040
}
4141

4242
# put mz and intensities into dataframe

0 commit comments

Comments
 (0)