Skip to content

Commit

Permalink
Merge pull request #107 from jeromekelleher/jeromekelleher-patch-1
Browse files Browse the repository at this point in the history
Fix off by one error
  • Loading branch information
jeromekelleher authored Mar 2, 2023
2 parents 5124ab6 + 8616fae commit 265de6c
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 265de6c

Please sign in to comment.