forked from biopython/biopython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iterative implementation for newickize
`newickize` can [overflow the python stack for very deep trees](nextstrain/augur#328). This is an alternate implementation that uses a deque (as a stack) to store the tree data. Although this is the same O(N) in terms of storage, the amount of data stored per function call depth in python is significantly higher.
- Loading branch information
Tony Tung
committed
Jul 2, 2020
1 parent
639a815
commit bf69e4e
Showing
2 changed files
with
56 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters