Skip to content

Commit

Permalink
Fix off by one error
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher authored Mar 2, 2023
1 parent 5124ab6 commit 8616fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sc2ts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def _node_summary(self, u, child_mutations=True):
"pango": pango,
"parents": np.sum(self.ts.edges_child == u),
"children": np.sum(self.ts.edges_parent == u),
"descendants": self.nodes_max_descendant_samples[u] - 1,
"descendants": self.nodes_max_descendant_samples[u],
"date": self.nodes_date[u],
"delay": self.nodes_submission_delay[u],
"qc": qc,
Expand Down

0 comments on commit 8616fae

Please sign in to comment.