From 80e0446eac0e4fc8754f4e9356f2e1b4d263a956 Mon Sep 17 00:00:00 2001 From: mufernando Date: Tue, 23 Jun 2020 18:45:23 -0300 Subject: [PATCH] update subset docs - no support for migration table --- c/tskit/tables.h | 3 +-- python/tskit/trees.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/c/tskit/tables.h b/c/tskit/tables.h index 5d3bffe1a5..6fc1f3e5cf 100644 --- a/c/tskit/tables.h +++ b/c/tskit/tables.h @@ -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 diff --git a/python/tskit/trees.py b/python/tskit/trees.py index 2382121d14..da24650b72 100644 --- a/python/tskit/trees.py +++ b/python/tskit/trees.py @@ -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