diff xcms.r @ 17:3bd1e74d4abc draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit b3ba169290fd2e40dafe167f345106c1c3da3ebe
author lecorguille
date Wed, 08 Feb 2017 04:36:13 -0500
parents 20a75ba4345b
children 8e740205c907
line wrap: on
line diff
--- a/xcms.r	Sun Feb 05 08:57:02 2017 -0500
+++ b/xcms.r	Wed Feb 08 04:36:13 2017 -0500
@@ -252,8 +252,7 @@
     getBPCs(xcmsSet=xset,rt="corrected",pdfname=bicspdf)
 }
 
-if (thefunction == "fillPeaks") {
-    cat("\t\tGET THE PEAK LIST\n")
+if ((thefunction == "group" || thefunction == "fillPeaks") && exists("intval")) {
     getPeaklistW4M(xset,intval,convertRTMinute,numDigitsMZ,numDigitsRT,variableMetadataOutput,dataMatrixOutput)
 }