|
1 | 1 | --------------------
|
2 |
| -[0.X.X] - 2020-XX-XX |
| 2 | +[0.3.3] - 2020-11-27 |
3 | 3 | --------------------
|
4 | 4 |
|
5 | 5 | **Features**
|
6 | 6 |
|
7 | 7 | - Expose ``TreeSequence.coiterate()`` method to allow iteration over 2 sequences
|
8 |
| - simultaneously, aiding comparison of trees from two sequences. |
9 |
| - (:user:`jeromekelleher`, :user:`hyanwong`, :issue:`1021`, :pr:`1022`) |
| 8 | + simultaneously, aiding comparison of trees from two sequences |
| 9 | + (:user:`jeromekelleher`, :user:`hyanwong`, :issue:`1021`, :pr:`1022`). |
10 | 10 |
|
11 |
| -- tskit is now supported on, and has wheels for, python3.9. |
12 |
| - (:user:`benjeffery`, :issue:`982`, :pr:`907`) |
| 11 | +- tskit is now supported on, and has wheels for, python3.9 |
| 12 | + (:user:`benjeffery`, :issue:`982`, :pr:`907`). |
13 | 13 |
|
14 | 14 | - ``Tree.newick()`` now has extra option ``include_branch_lengths`` to allow branch
|
15 | 15 | lengths to be omitted (:user:`hyanwong`, :pr:`931`).
|
|
22 | 22 |
|
23 | 23 | - Added ``equals`` method to TreeSequence, TableCollection and each of the tables which
|
24 | 24 | provides more flexible equality comparisons, for example, allowing
|
25 |
| - users to ignore metadata or provenance in the comparison. |
| 25 | + users to ignore metadata or provenance in the comparison |
26 | 26 | (:user:`mufernando`, :user:`jeromekelleher`, :issue:`896`, :pr:`897`,
|
27 | 27 | :issue:`913`, :pr:`917`).
|
28 | 28 |
|
29 |
| -- Added ``__eq__`` to TreeSequence. |
30 |
| - (:user:`benjeffery`, :issue:`1011`, :pr:`1020`) |
| 29 | +- Added ``__eq__`` to TreeSequence |
| 30 | + (:user:`benjeffery`, :issue:`1011`, :pr:`1020`). |
31 | 31 |
|
32 | 32 | - ``ts.dump`` and ``tskit.load`` now support reading and writing file objects such as
|
33 |
| - FIFOs and sockets. (:user:`benjeffery`, :issue:`657`, :pr:`909`) |
| 33 | + FIFOs and sockets (:user:`benjeffery`, :issue:`657`, :pr:`909`). |
34 | 34 |
|
35 |
| -- Added ``tskit.write_ms`` for writing to MS format. |
36 |
| - (:user:`saurabhbelsare`, :issue:`727`, :pr:`854`) |
| 35 | +- Added ``tskit.write_ms`` for writing to MS format |
| 36 | + (:user:`saurabhbelsare`, :issue:`727`, :pr:`854`). |
37 | 37 |
|
38 |
| -- Added ``TableCollection.indexes`` for access to the edge insertion/removal order indexes. |
39 |
| - (:user:`benjeffery`, :issue:`4`, :pr:`916`) |
| 38 | +- Added ``TableCollection.indexes`` for access to the edge insertion/removal order indexes |
| 39 | + (:user:`benjeffery`, :issue:`4`, :pr:`916`). |
40 | 40 |
|
41 |
| -- The dictionary representation of a TableCollection now contains its index. |
42 |
| - (:user:`benjeffery`, :issue:`870`, :pr:`921`) |
| 41 | +- The dictionary representation of a TableCollection now contains its index |
| 42 | + (:user:`benjeffery`, :issue:`870`, :pr:`921`). |
43 | 43 |
|
44 |
| -- Added ``TreeSequence._repr_html_`` for use in jupyter notebooks. |
45 |
| - (:user:`benjeffery`, :issue:`872`, :pr:`923`) |
| 44 | +- Added ``TreeSequence._repr_html_`` for use in jupyter notebooks |
| 45 | + (:user:`benjeffery`, :issue:`872`, :pr:`923`). |
46 | 46 |
|
47 |
| -- Added ``TreeSequence.__str__`` to display a summary for terminal usage. |
48 |
| - (:user:`benjeffery`, :issue:`938`, :pr:`985`) |
| 47 | +- Added ``TreeSequence.__str__`` to display a summary for terminal usage |
| 48 | + (:user:`benjeffery`, :issue:`938`, :pr:`985`). |
49 | 49 |
|
50 | 50 | - Added ``TableCollection.dump`` and ``TableCollection.load``. This allows table
|
51 |
| - collections that are not valid tree sequences to be manipulated. |
52 |
| - (:user:`benjeffery`, :issue:`14`, :pr:`986`) |
| 51 | + collections that are not valid tree sequences to be manipulated |
| 52 | + (:user:`benjeffery`, :issue:`14`, :pr:`986`). |
53 | 53 |
|
54 | 54 | - Added ``nbytes`` method to tables, ``TableCollection`` and ``TreeSequence`` which
|
55 |
| - reports the size in bytes of those objects. |
56 |
| - (:user:`jeromekelleher`, :user:`benjeffery`, :issue:`54`, :pr:`871`) |
| 55 | + reports the size in bytes of those objects |
| 56 | + (:user:`jeromekelleher`, :user:`benjeffery`, :issue:`54`, :pr:`871`). |
57 | 57 |
|
58 | 58 | - Added ``TableCollection.clear`` to clear data table rows and optionally
|
59 |
| - provenances, table schemas and tree-sequence level metadata and schema. |
60 |
| - (:user:`benjeffery`, :issue:`929`, :pr:`1001`) |
| 59 | + provenances, table schemas and tree-sequence level metadata and schema |
| 60 | + (:user:`benjeffery`, :issue:`929`, :pr:`1001`). |
61 | 61 |
|
62 | 62 | **Bugfixes**
|
63 | 63 |
|
64 | 64 | - ``LightWeightTableCollection.asdict`` and ``TableCollection.asdict`` now return copies
|
65 |
| - of arrays. |
66 |
| - (:user:`benjeffery`, :issue:`1025`, :pr:`1029`) |
| 65 | + of arrays (:user:`benjeffery`, :issue:`1025`, :pr:`1029`). |
67 | 66 |
|
68 | 67 | - The ``map_mutations`` method previously used the Fitch parsimony method, but this
|
69 | 68 | does not produce parsimonious results on non-binary trees. We now now use the
|
70 |
| - Hartigan parsimony algorithm, which does. (:user:`jeromekelleher`, |
| 69 | + Hartigan parsimony algorithm, which does (:user:`jeromekelleher`, |
71 | 70 | :issue:`987`, :pr:`1030`).
|
72 | 71 |
|
73 |
| -- The ``flag`` argument to tables' ``add_row`` was treating the value as signed. |
74 |
| - (:user:`benjeffery`, :issue:`1027`, :pr:`1031`) |
| 72 | +- The ``flag`` argument to tables' ``add_row`` was treating the value as signed |
| 73 | + (:user:`benjeffery`, :issue:`1027`, :pr:`1031`). |
75 | 74 |
|
76 | 75 | **Breaking changes**
|
77 | 76 |
|
|
0 commit comments