Skip to content

Commit

Permalink
Update ushertools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Jul 28, 2022
1 parent 9530dad commit 2923de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxoniumtools/src/taxoniumtools/ushertools.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def preorder_traversal_internal(node):
yield node
for clade in node.children:
for x in preorder_traversal_internal(clade):
if not x.children:
if not x.is_leaf():
yield x


Expand Down

1 comment on commit 2923de5

@vercel
Copy link

@vercel vercel bot commented on 2923de5 Jul 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.