Skip to content

Commit dee32c2

Browse files
hyanwongmergify[bot]
authored andcommitted
Tiny grammar changes for consistency
Isolated samples are "on" and "in" the tree. Dead leaves are not "on" the tree.
1 parent 261456c commit dee32c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/data-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ often have large regions that have
10511051
not been inherited by any of the {ref}`sample nodes<sec_data_model_definitions_sample>`
10521052
in the tree sequence, and therefore regions about which we know nothing. This is true,
10531053
for example, of node 7 in the middle tree of our previous example, which is why it is
1054-
not plotted in that tree:
1054+
not plotted on that tree:
10551055

10561056
```{code-cell} ipython3
10571057
display(SVG(ts_multiroot.draw_svg(time_scale="rank")))
@@ -1068,7 +1068,7 @@ for tree in ts_multiroot.trees():
10681068

10691069
However, it is also possible for a {ref}`sample node<sec_data_model_definitions_sample>`
10701070
to be isolated. Unlike other nodes, isolated *sample* nodes are still considered as
1071-
being present in the tree (meaning they will still returned by the {meth}`Tree.nodes`
1071+
being present on the tree (meaning they will still returned by the {meth}`Tree.nodes`
10721072
and {meth}`Tree.samples` methods): they are therefore plotted, but unconnected to any
10731073
other nodes. To illustrate, we can remove the edge from node 2 to node 7.
10741074

0 commit comments

Comments
 (0)