Python 0.3.6 #1448
benjeffery
started this conversation in
General
Python 0.3.6
#1448
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Minor feature release
Breaking changes
Mutation.position
andMutation.index
which were deprecated in 0.2.2 (Sep '19) havebeen removed.
Features
Add direct, copy-free access to the arrays representing the quintuply-linked structure
of
Tree
(e.g.left_child_array
). Allows performant algorithms over the treestructure using, for example, numba
(@jeromekelleher, #1299, #1320).
Add fancy indexing to tables. E.g.
table[6:86]
returns a new table with thespecified rows. Supports slices, index arrays and boolean masks
(@benjeffery, #1221, #1348, #1342).
Add
Table.append
method for adding rows from classes such asSiteTableRow
andSite
(@benjeffery, #1111, #1254).SVG visualization of a tree sequence can be restricted to displaying between left
and right genomic coordinates using the
x_lim
parameter. The default settingsnow mean that if the left or right flanks of a tree sequence are entirely empty,
these regions will not be plotted in the SVG (@hyanwong, #1288).
SVG visualization of a single tree allows all mutations on an edge to be plotted
via the
all_edge_mutations
param (@hyanwong,#1253, #1258).Entity classes such as
Mutation
,Node
are now python dataclasses(@benjeffery, #1261).
Metadata decoding for table row access is now lazy (@benjeffery, #1261).
Add html notebook representation for
Tree
and changeTree.__str__
from dictrepresentation to info table. (@benjeffery, #1269, #1304).
Improve display of tables when
print
ed, limiting lines set viatskit.set_print_options
(@benjeffery,#1270, #1300).Add
Table.assert_equals
andTableCollection.assert_equals
which give an exactreport of any differences. (@benjeffery,#1076, #1328)
Changes
max_tree_height
andtree_height_scale
have been deprecatedin favour of
max_time
andtime_scale
(@benjeffery,#1262, #1331).
Fixes
(@benjeffery, #1297, #1298)
This discussion was created from the release Python 0.3.6.
Beta Was this translation helpful? Give feedback.
All reactions