Python 0.3.2
Minor feature release
Breaking changes
- Change several methods (
simplify(),trees(),Tree()) so most parameters
are keyword only, not positional. This allows reordering of parameters, so
that deprecated parameters can be moved, and the parameter order in similar functions,
e.g.TableCollection.simplifyandTreeSequence.simplify()can be made
consistent (@hyanwong, #374, #846, #851)
Features
-
Tree accessor functions (e.g.
ts.first(),ts.at()pass extra parameters such as
sample_indexesto the underlyingTreeconstructor; alsoroot_thresholdcan
be specified when callingts.trees()(@hyanwong, #847, #848) -
Genomic intervals returned by python functions are now namedtuples, allowing
.left
.rightand.spanusage (@hyanwong, #784, #786, #811) -
Added
include_terminalparameter to edge diffs iterator, to output the last edges
at the end of a tree sequence (@hyanwong, #783, #787) -
#832 - Add
metadata_bytesmethod to allow access to raw
TableCollection metadata (@benjeffery, #842) -
tskit.is_unknown_timecan now check arrays. (@benjeffery, #857).