-
The |
Beta Was this translation helpful? Give feedback.
Answered by
hyanwong
Dec 5, 2024
Replies: 1 comment
-
We now have a mutation = ts.mutation(100)
node_time_below_mutation = ts.nodes_time[mutation.node]
node_time_above_mutation = ts.nodes_time[ts.edges_parent[mutation.edge]] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hyanwong
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We now have a
mutation.edge
attribute, so you can obtain the parent node very simply, without having to build the tree: