Permalink
Browse files
effects: avoid lookup issues with non-CWL snpEff
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+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