Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
jordibc committed Jan 19, 2024
1 parent d45a44a commit 0fa2085
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ete4/core/operations.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ def assert_root_consistency(root, bprops=None):
assert pname not in root.props, f'root has branch property: {pname}'

if len(root.children) == 2:
ch1, ch2 = root.children
s1, s2 = ch1.props.get('support'), ch2.props.get('support')
s1, s2 = [n.support for n in root.children]
assert s1 == s2, 'inconsistent support at the root: %r != %r' % (s1, s2)


Expand Down

0 comments on commit 0fa2085

Please sign in to comment.