@@ -43,28 +43,28 @@ bitflags! {
43
43
pub struct SimplificationOptions : RawFlags {
44
44
/// Default behavior
45
45
const NONE = 0 ;
46
- const FILTER_SITES = ll_bindings:: TSK_FILTER_SITES ;
46
+ const FILTER_SITES = ll_bindings:: TSK_SIMPLIFY_FILTER_SITES ;
47
47
/// If True, remove any populations that are not referenced by
48
48
/// nodes after simplification; new population IDs are allocated
49
49
/// sequentially from zero.
50
50
/// 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 ;
52
52
/// If True, remove any individuals that are not referenced by nodes
53
53
/// after simplification; new individual IDs are allocated sequentially
54
54
/// 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 ;
56
56
/// 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 ;
58
58
/// If True, preserve unary nodes (i.e. nodes with exactly one child)
59
59
/// 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 ;
61
61
/// 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 ;
63
63
/// If True, preserve unary nodes that exist on the path from samples
64
64
/// to root, but only if they are associated with an individual
65
65
/// in the individuals table.
66
66
/// 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 ;
68
68
}
69
69
}
70
70
@@ -161,7 +161,7 @@ bitflags! {
161
161
/// Default behavior
162
162
const NONE = 0 ;
163
163
/// 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 ;
165
165
}
166
166
}
167
167
0 commit comments