Skip to content

Commit 79f285e

Browse files
committed
Add a link to the subset docs from union
1 parent be68d35 commit 79f285e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/tskit/trees.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7408,9 +7408,9 @@ def union(
74087408
``other`` to nodes in ``self``.
74097409
:param bool check_shared_equality: If True, the shared portions of the
74107410
tree sequences will be checked for equality. It does so by
7411-
subsetting both ``self`` and ``other`` on the equivalent nodes
7412-
specified in ``node_mapping``, and then checking for equality of
7413-
the subsets.
7411+
running :meth:`TreeSequence.subset` on both ``self`` and ``other``
7412+
for the equivalent nodes specified in ``node_mapping``, and then
7413+
checking for equality of the subsets.
74147414
:param bool add_populations: If True, nodes new to ``self`` will be
74157415
assigned new population IDs.
74167416
:param bool record_provenance: Whether to record a provenance entry

0 commit comments

Comments
 (0)