Releases: kayjan/bigtree
Releases · kayjan/bigtree
v0.15.5
2024-01-17
Changed
- Misc: Neater handling of strings for tests.
- Misc: Better examples for merging trees and weighted trees in Sphinx documentation.
- Misc: Fix links and introduce unreleased segment in CHANGELOG.
What's Changed
- Changed: Neater handling of strings for tests by @kayjan in #161
- Changed: Example for sphinx examples for merging trees and weighted t… by @kayjan in #162
- V0.15.5 by @kayjan in #163
Full Changelog: 0.15.4...0.15.5
v0.15.4
2024-01-11
Changed
- Tree Exporter:
hprint_tree
andhyield_tree
to allow hiding names of intermediate node.
Fixed
- Tree Constructor:
newick_to_tree
to handle invalid closing and use of apostrophe. - Tree Exporter:
tree_to_newick
to handle special characters by wrapping them in apostrophe.
What's Changed
- Fixed: Highlight lines in README by @kayjan in #157
- Serialize newick export by @kayjan in #158
- Hyield add arg by @kayjan in #159
- v0.15.4 by @kayjan in #160
Full Changelog: 0.15.3...0.15.4
v0.15.3
2024-01-08
Added
- Tree Helper:
get_subtree
method to retrieve subtree.
What's Changed
Full Changelog: 0.15.2...0.15.3
v0.15.2
2024-01-08
Added
- Tree Exporter:
hprint_tree
andhyield_tree
to print and retrieve results for tree in horizontal orientation. - Node: Added
hshow
method to print tree in horizontal orientation to console.
What's Changed
Full Changelog: 0.15.1...0.15.2
v0.15.1
2024-01-05
Added
- Tree Constructor:
newick_to_tree
to convert Newick notation to tree.
Changed
- Tree Exporter:
tree_to_newick
to accept more parameters to parse length and attributes.
Fixed
- Misc: Automated doctest setup to use os operations instead of string operations.
What's Changed
- Enhance newick by @kayjan in #146
- Fixed: conf.py reusable os codes by @kayjan in #147
- Abstract newick by @kayjan in #148
- Newick changes by @kayjan in #149
- Feature newick to tree by @kayjan in #150
- V0.15.1 by @kayjan in #151
- v0.15.1 by @kayjan in #152
Full Changelog: 0.15.0...0.15.1
v0.15.0
2024-01-02
Added
- Tree Exporter: Export to Newick notation with
tree_to_newick
.
Changed
- Tree Helper: Pruning tree to support pruning of multiple paths (accepts list of string).
- Tree Helper: Pruning tree to support pruning of an exact path (i.e., remove descendants) with
exact
parameter, default is prune and keep descendants.
What's Changed
- Changed: Updated examples in README by @kayjan in #141
- Update CHANGELOG.md by @kayjan in #142
- Enhance pruning by @kayjan in #143
- v0.15.0 by @kayjan in #144
- Changed: Update README to show newick export examples by @kayjan in #145
Full Changelog: 0.14.8...0.15.0
v0.14.8
2023-12-25
Changed
- Tree Modifier: Enhance documentation examples.
- Workflow To Do App: Change import and export logic.
- Misc: Organize assets folder based on whether it originated from README, docstrings, or sphinx documentation.
- Misc: Rename functions in
plot.py
utils file for coverage report.
Fixed
- Misc: Fixed doctests and automate doctest checks.
What's Changed
- Update docs.yml by @kayjan in #136
- Update docs.yml by @kayjan in #137
- Enhance docstring by @kayjan in #138
- Changed: Enhance docstring examples for tree modify functions by @kayjan in #139
- Enhance docstr by @kayjan in #140
Full Changelog: 0.14.7...0.14.8
v0.14.7
2023-12-22
Changed
- Tree Helper:
get_tree_diff
enhanced to compare tree attributes by taking inattr_list
parameter, and indicates difference with(~)
.
Fixed
- Tree Helper:
get_tree_diff
compare tree structure by considering all nodes (previously only consider leaf nodes).
What's Changed
- Changed: get_tree_diff method to compare structure and attributes by @kayjan in #134
- V0.14.7 by @kayjan in #135
Full Changelog: 0.14.6...0.14.7
v0.14.6
2023-12-14
Added
- Node: Able to access and delete node children via name with square bracket accessor with
__getitem__
and__delitem__
magic methods. - BaseNode/Node/BinaryNode: Able to add one or more children with
append
andextend
methods. - BaseNode/Node/BinaryNode: Able to check if node contains child node with
__contains__
magic method. - BaseNode/Node/BinaryNode: Able to iterate the node to access children with
__iter__
magic method. Results in children setter to only accept list/tuple/set instead of iterable types.
Changed
- Tree Exporter:
tree_to_dot
accepts callable to set node and edge attrs for custom node (backward-compatible). - Tree Exporter:
tree_to_mermaid
accepts callable to set node shape attr, edge arrow attr and node attr for custom node (backward-compatible). - Tree Exporter: Change delimiter for
tree_to_mermaid
to prevent possible path confusion (backward-compatible). - Misc: Code abstraction for assertion checks and constants.
- Misc: Documentation for exporting tree/dag to dot.
What's Changed
- Fix: Highlight to span whole row by @kayjan in #126
- Fix: Documentation highlight css by @kayjan in #127
- Change toctree in docs by @kayjan in #128
- Added: Examples in docstring on displaying pydot with IPython by @kayjan in #130
- Change: Mermaid delimiter, abstract assertions and constants to anoth… by @kayjan in #131
- Add magic methods by @kayjan in #133
Full Changelog: 0.14.5...0.14.6
v0.14.5
2023-11-24
Changed
- Misc: Update SECURITY file.
- Misc: Documentation enhancement to add more emoji, and highlight code blocks.
What's Changed
- Fix: v0.14.4 by @kayjan in #121
- Fix: Github action dependency by @kayjan in #122
- update SECURITY file by @kayjan in #123
- Documentation enhancement to highlight code blocks by @kayjan in #124
- V0.14.5 by @kayjan in #125
Full Changelog: 0.14.4...0.14.5