Skip to content

1.2.1

Compare
Choose a tag to compare
@rmnldwg rmnldwg released this 28 May 13:40
· 17 commits to main since this release
473b4e3

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 accept None.
  • (mid) Correct type hint of marginalize.
  • (graph) Wrong dict when trinary.
    The to_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 is None. 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.
    The get_mermaid() and get_mermaid_url() methods now accept arguments
    that allow some modifications of the output.
  • (uni) Add __repr__().

Refactor

  • (uni) Use pandas map instead of apply.
    This saves us a couple of lines in the load_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.