Skip to content

Commit a23b5b4

Browse files
authored
Merge pull request #1210 from hyanwong/patch-20
table.simplify() docstring should refer to nodes not individuals
2 parents 028997b + ae419e1 commit a23b5b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tskit/tables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,7 @@ def simplify(
25022502
to reconstruct the tree sequence describing the given ``samples``.
25032503
This will change the ID of the nodes, so that the node
25042504
``samples[k]`` will have ID ``k`` in the result. The resulting
2505-
NodeTable will have only the first ``len(samples)`` individuals marked
2505+
NodeTable will have only the first ``len(samples)`` nodes marked
25062506
as samples. The mapping from node IDs in the current set of tables to
25072507
their equivalent values in the simplified tables is also returned as a
25082508
numpy array. If an array ``a`` is returned by this function and ``u``
@@ -2512,7 +2512,7 @@ def simplify(
25122512
25132513
Tables operated on by this function must: be sorted (see
25142514
:meth:`TableCollection.sort`), have children be born strictly after their
2515-
parents, and the intervals on which any individual is a child must be
2515+
parents, and the intervals on which any node is a child must be
25162516
disjoint. Other than this the tables need not satisfy remaining
25172517
requirements to specify a valid tree sequence (but the resulting tables
25182518
will).

0 commit comments

Comments
 (0)