Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions c/tskit/tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -2424,9 +2424,8 @@ each of the tables as follows:
3. Edges: if both parent and child are retained nodes.
4. Mutations: if the mutation's node is a retained node.
5. Sites: if any mutations remain at the site after removing mutations.
6. Migrations: if the migration's node is a retained node.

Retained edges, mutations, sites, and migrations appear in the same
Retained edges, mutations, and sites appear in the same
order as in the original tables.

If ``nodes`` is the entire list of nodes in the tables, then the
Expand Down
3 changes: 1 addition & 2 deletions python/tskit/trees.py
Original file line number Diff line number Diff line change
Expand Up @@ -4483,9 +4483,8 @@ def subset(self, nodes, record_provenance=True):
3. Edges: if both parent and child are retained nodes.
4. Mutations: if the mutation's node is a retained node.
5. Sites: if any mutations remain at the site after removing mutations.
6. Migrations: if the migration's node is a retained node.

Retained edges, mutations, sites, and migrations appear in the same
Retained edges, mutations, and sites appear in the same
order as in the original tables.

If ``nodes`` is the entire list of nodes in the tables, then the
Expand Down