changeset 6:ad24f23e7d53 draft

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 14eafbdb65f491713d1314d77c454defd137c392
author tomnl
date Tue, 18 Jun 2019 10:58:46 -0400
parents 1a77ed3c94b7
children 64374e7beba1
files createDatabase.R
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/createDatabase.R	Tue Jun 18 10:39:15 2019 -0400
+++ b/createDatabase.R	Tue Jun 18 10:58:46 2019 -0400
@@ -156,10 +156,10 @@
   }
 
   xset@peaks <- as.matrix(plyr::ddply(data.frame(xset@peaks), ~ sample, convert2Raw, xset=xset))
-
+  closeAllConnections()
   # Saves the EICS into the previously created database
   px <- msPurity::purityX(xset, saveEIC = TRUE,
-                           cores=2, sqlitePth=dbPth,
+                           cores=1, sqlitePth=dbPth,
                            rtrawColumns = TRUE)
 
 }