changeset 15:10380a550f68 draft

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit e6935a8c6a3da23f47a753ab5a8159fa9d165535-dirty
author tomnl
date Sun, 13 May 2018 09:36:22 -0400
parents e05068fe15a1
children 810decbf93b8
files create_sqlite_db.R
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/create_sqlite_db.R	Fri May 11 06:04:46 2018 -0400
+++ b/create_sqlite_db.R	Sun May 13 09:36:22 2018 -0400
@@ -115,7 +115,7 @@
 
 db_pth <- msPurity::create_database(pa, xset=xset, xsa=xa, out_dir=opt$out_dir,
                           grp_peaklist=grp_peaklist, db_name=opt$db_name)
-
+DBI::dbDisconnect()
 print(db_pth)
 
 if (!is.null(opt$eic)){
@@ -129,7 +129,7 @@
 
   # Saves the EICS into the previously created database
   px <- msPurity::purityX(xset, saveEIC = TRUE,
-                           cores=opt$cores, sqlitePth=db_pth,
+                           cores=1, sqlitePth=db_pth,
                            rtrawColumns = rtrawColumns)
 }