changeset 6:c922df2f9c2a draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/data_manager_customProDB commit 98f3323d4b92a4a3668788b3e1bad1a6529fd6df-dirty
author galaxyp
date Tue, 31 May 2016 13:02:29 -0400
parents a0ca66b32792
children 7399b23db662
files data_manager/customProDB_annotation.R
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/customProDB_annotation.R	Tue May 24 11:47:26 2016 -0400
+++ b/data_manager/customProDB_annotation.R	Tue May 31 13:02:29 2016 -0400
@@ -50,7 +50,7 @@
         dbsnp = NULL
     }
     
-    if (cosmic && grepl("^hg", dbkey))
+    if (length(cosmic) > 0 && cosmic && grepl("^hg", dbkey))
     {
         use_cosmic = TRUE
     }