1.2.1
Changelog
All notable changes to this project will be documented in this file.
What's New
Bug fixes and two tiny features.
Bug Fixes
- (uni)
load_patient_data
should acceptNone
. - (mid) Correct type hint of
marginalize
. - (graph) Wrong dict when trinary.
Theto_dict()
method returned a wrong graph dictionary when trinary
due to growth edges. This is fixed now. - Skip
marginalize
only when safe.
The marginalization should only be skipped (and 1 returned), when the
entire disease state of interest isNone
. In the midline case, this
disease state includes the midline extension.
Previously, only the involvement pattern was checked. Now, the model is
more careful about when to take shortcuts.
Features
- (graph) Modify mermaid graph.
Theget_mermaid()
andget_mermaid_url()
methods now accept arguments
that allow some modifications of the output. - (uni) Add
__repr__()
.
Refactor
- (uni) Use pandas
map
instead ofapply
.
This saves us a couple of lines in theload_patient_data
method and is
more readable.
Merge
- Branch 'main' into 'dev'.
Remove
- Remains of callbacks.
Some callback functionality that was tested in a pre-release has been
forgotten in the code base and is now deleted.