Permalink
Browse files

effects: avoid lookup issues with non-CWL snpEff

  • Loading branch information...
1 parent b3bee6e commit 2c276748badde9a700ab8dc1703a4e0c4e291bea @chapmanb committed Jul 14, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 bcbio/variation/effects.py
@@ -276,7 +276,7 @@ def get_db(data):
snpeff_base_dir = None
if snpeff_db:
snpeff_base_dir = utils.get_in(data, ("reference", "snpeff"))
- if not isinstance(snpeff_base_dir, basestring) and os.path.isdir(snpeff_base_dir):
+ if not (isinstance(snpeff_base_dir, basestring) and os.path.isdir(snpeff_base_dir)):
snpeff_base_dir = utils.get_in(data, ("reference", "snpeff", snpeff_db))
if not snpeff_base_dir:
# We need to mask '.' characters for CWL/WDL processing, check for them here

0 comments on commit 2c27674

Please sign in to comment.