# HG changeset patch # User galaxyp # Date 1464714149 14400 # Node ID c922df2f9c2aad77b404c38361d6c478a71c7c01 # Parent a0ca66b327928b51185d4b71a6f112cee5d74ac7 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/data_manager_customProDB commit 98f3323d4b92a4a3668788b3e1bad1a6529fd6df-dirty diff -r a0ca66b32792 -r c922df2f9c2a data_manager/customProDB_annotation.R --- 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 }