Skip to content

Commit

Permalink
Fix logical typo in NCBI database update
Browse files Browse the repository at this point in the history
  • Loading branch information
unode committed Jul 26, 2017
1 parent 6f56ba5 commit c368b3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ete3/ncbi_taxonomy/ncbiquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(self, dbfile=None, taxdump_file=None):
self.db = None
self._connect()

if is_taxadb_up_to_date(self.dbfile):
if not is_taxadb_up_to_date(self.dbfile):
print('NCBI database format is outdated. Upgrading', file=sys.stderr)
self.update_taxonomy_database(taxdump_file)

Expand Down

0 comments on commit c368b3f

Please sign in to comment.