Skip to content

Commit 03ce214

Browse files
committed
fix ingroup bug
1 parent a42a895 commit 03ce214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trees_report/trees_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def write_tree_list(outpath):
6464
row.n_synth = 1 if long_id in trees_in_synthesis else 0
6565

6666
ingroup_node_id = tree.get('^ot:inGroupClade')
67-
row.n_ingroup = (1 if (ingroup_node_id == None) else 0)
67+
row.n_ingroup = (1 if (ingroup_node_id != None) else 0)
6868

6969
(row.tip_count, row.ott_count, row.new_count) = \
7070
examine_tree(tree, otu_group, ingroup_node_id, taxa_in_synthesis)

0 commit comments

Comments
 (0)