Skip to content

Commit

Permalink
Update common.py
Browse files Browse the repository at this point in the history
return value for get_db_present(level) should be a boolean
  • Loading branch information
jj-umn authored May 26, 2017
1 parent 622b57b commit f6a1432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eggnogmapper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def get_db_info(level):

def get_db_present(level):
dbpath, port = get_db_info(level)
db_present = [pexists(dbpath + "." + ext) for ext in 'h3f h3i h3m h3p idmap'.split()]
db_present = all([pexists(dbpath + "." + ext) for ext in 'h3f h3i h3m h3p idmap'.split()])
return db_present

def get_citation(addons=['hmmer']):
Expand Down

0 comments on commit f6a1432

Please sign in to comment.