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.positionandMutation.indexwhich 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.appendmethod for adding rows from classes such asSiteTableRowandSite(@benjeffery, #1111, #1254).SVG visualization of a tree sequence can be restricted to displaying between left
and right genomic coordinates using the
x_limparameter. 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_mutationsparam (@hyanwong,#1253, #1258).Entity classes such as
Mutation,Nodeare now python dataclasses(@benjeffery, #1261).
Metadata decoding for table row access is now lazy (@benjeffery, #1261).
Add html notebook representation for
Treeand changeTree.__str__from dictrepresentation to info table. (@benjeffery, #1269, #1304).
Improve display of tables when
printed, limiting lines set viatskit.set_print_options(@benjeffery,#1270, #1300).Add
Table.assert_equalsandTableCollection.assert_equalswhich give an exactreport of any differences. (@benjeffery,#1076, #1328)
Changes
max_tree_heightandtree_height_scalehave been deprecatedin favour of
max_timeandtime_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