Skip to content

Commit e05f642

Browse files
hyanwongjeromekelleher
authored andcommitted
Add a link to the subset docs from union
1 parent 49d7c69 commit e05f642

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
@@ -7304,9 +7304,9 @@ def union(
73047304
``other`` to nodes in ``self``.
73057305
:param bool check_shared_equality: If True, the shared portions of the
73067306
tree sequences will be checked for equality. It does so by
7307-
subsetting both ``self`` and ``other`` on the equivalent nodes
7308-
specified in ``node_mapping``, and then checking for equality of
7309-
the subsets.
7307+
running :meth:`TreeSequence.subset` on both ``self`` and ``other``
7308+
for the equivalent nodes specified in ``node_mapping``, and then
7309+
checking for equality of the subsets.
73107310
:param bool add_populations: If True, nodes new to ``self`` will be
73117311
assigned new population IDs.
73127312
:param bool record_provenance: Whether to record a provenance entry

0 commit comments

Comments
 (0)