Skip to content

Commit

Permalink
fixed nexus export error in mugration analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
rneher committed Sep 5, 2019
1 parent 739b4e1 commit afd24b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treetime/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,9 +777,9 @@ def mugration(params):

terminal_count = 0
for n in mug.tree.find_clades():
n.confidence=None
if n.up is None:
continue
n.confidence=None
# due to a bug in older versions of biopython that truncated filenames in nexus export
# we truncate them by hand and make them unique.
if n.is_terminal() and len(n.name)>40 and bioversion<"1.69":
Expand Down

0 comments on commit afd24b0

Please sign in to comment.