Skip to content

Commit

Permalink
fix(GTDB Tree): Added option to force underscores.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed Mar 9, 2022
1 parent 87d7eea commit 8c87e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magna/gtdb/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, source: str, path: str, md5: str):
self.tree = self._read()

def _read(self):
return dendropy.Tree.get(path=self.path, schema='newick')
return dendropy.Tree.get(path=self.path, schema='newick', preserve_underscores=True)

def _download(self):
with tempfile.TemporaryDirectory() as tmpdir:
Expand Down

0 comments on commit 8c87e70

Please sign in to comment.