diff combineAnnotations.R @ 12:d70fd233784a draft

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 4f88143938cc198436c2691443832c87e2c31cd0
author tomnl
date Tue, 24 Sep 2019 08:07:38 -0400
parents a90832e6acb2
children 1389e565f95e
line wrap: on
line diff
--- a/combineAnnotations.R	Fri Sep 13 11:57:28 2019 -0400
+++ b/combineAnnotations.R	Tue Sep 24 08:07:38 2019 -0400
@@ -67,7 +67,7 @@
   source_local <- function(fname){ argv <- commandArgs(trailingOnly=FALSE); base_dir <- dirname(substring(argv[grep("--file=", argv)], 8)); source(paste(base_dir, fname, sep="/")) }
   source_local("dbconfig.R")
 }else{
-  compoundDbType = opt$compoundDbType
+  compoundDbType = compoundDbType
   compoundDbName = NA
   compoundDbHost = NA
   compoundDbPort = NA
@@ -79,7 +79,7 @@
 
 summary_output <- msPurity::combineAnnotations(
                             sm_resultPth = sm_resultPth,
-                            compoundDbPth = opt$compoundDbPth,
+                            compoundDbPth = compoundDbPth,
                             metfrag_resultPth = opt$metfrag_resultPth,
                             sirius_csi_resultPth = opt$sirius_csi_resultPth,
                             probmetab_resultPth = opt$probmetab_resultPth,