@@ -43,28 +43,28 @@ bitflags! {
4343 pub struct SimplificationOptions : RawFlags {
4444 /// Default behavior
4545 const NONE = 0 ;
46- const FILTER_SITES = ll_bindings:: TSK_FILTER_SITES ;
46+ const FILTER_SITES = ll_bindings:: TSK_SIMPLIFY_FILTER_SITES ;
4747 /// If True, remove any populations that are not referenced by
4848 /// nodes after simplification; new population IDs are allocated
4949 /// sequentially from zero.
5050 /// If False, the population table will not be altered in any way.
51- const FILTER_POPULATIONS = ll_bindings:: TSK_FILTER_POPULATIONS ;
51+ const FILTER_POPULATIONS = ll_bindings:: TSK_SIMPLIFY_FILTER_POPULATIONS ;
5252 /// If True, remove any individuals that are not referenced by nodes
5353 /// after simplification; new individual IDs are allocated sequentially
5454 /// from zero. If False, the individual table will not be altered in any way.
55- const FILTER_INDIVIDUALS = ll_bindings:: TSK_FILTER_INDIVIDUALS ;
55+ const FILTER_INDIVIDUALS = ll_bindings:: TSK_SIMPLIFY_FILTER_INDIVIDUALS ;
5656 /// Whether to reduce the topology down to the trees that are present at sites.
57- const REDUCE_TO_SITE_TOPOLOGY = ll_bindings:: TSK_REDUCE_TO_SITE_TOPOLOGY ;
57+ const REDUCE_TO_SITE_TOPOLOGY = ll_bindings:: TSK_SIMPLIFY_REDUCE_TO_SITE_TOPOLOGY ;
5858 /// If True, preserve unary nodes (i.e. nodes with exactly one child)
5959 /// that exist on the path from samples to root.
60- const KEEP_UNARY = ll_bindings:: TSK_KEEP_UNARY ;
60+ const KEEP_UNARY = ll_bindings:: TSK_SIMPLIFY_KEEP_UNARY ;
6161 /// Whether to retain history ancestral to the MRCA of the samples.
62- const KEEP_INPUT_ROOTS = ll_bindings:: TSK_KEEP_INPUT_ROOTS ;
62+ const KEEP_INPUT_ROOTS = ll_bindings:: TSK_SIMPLIFY_KEEP_INPUT_ROOTS ;
6363 /// If True, preserve unary nodes that exist on the path from samples
6464 /// to root, but only if they are associated with an individual
6565 /// in the individuals table.
6666 /// Cannot be specified at the same time as `KEEP_UNARY`.
67- const KEEP_UNARY_IN_INDIVIDUALS = ll_bindings:: TSK_KEEP_UNARY_IN_INDIVIDUALS ;
67+ const KEEP_UNARY_IN_INDIVIDUALS = ll_bindings:: TSK_SIMPLIFY_KEEP_UNARY_IN_INDIVIDUALS ;
6868 }
6969}
7070
@@ -161,7 +161,7 @@ bitflags! {
161161 /// Default behavior
162162 const NONE = 0 ;
163163 /// If used, then build table indexes if they are not present.
164- const BUILD_INDEXES = ll_bindings:: TSK_BUILD_INDEXES ;
164+ const BUILD_INDEXES = ll_bindings:: TSK_TS_INIT_BUILD_INDEXES ;
165165 }
166166}
167167
0 commit comments