Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,54 @@

All notable changes to this project will be documented in this file.

## [1.3.0] - 2025-01-29

### Bug Fixes

- (**hpv**) Some renaming and import correct symbols.
- (**hpv**) Send kwargs to constructor correctly.
- Partial globals work in `set_named_params()`.\
Setting `ipsi_spread` via `named_params` works now. This was tricky to
implement, as the `spread` params of the `ipsi` model are all called
`ipsi_<something>_spread`.

### Documentation

- Fix typos in readme.
- Fix typo in midline model docstring.
- Fix equation in midline model docstring.
- Change ref to "bilateral" in HPV model.
- Add new mixins to autodoc.
- Add warning about untested HPV model.

### Features

- (**hpv**) Create HPV wrapper.\
The `HPV` module can be used to build a unilateral lymph model
where the b_2 parameter is different for HPV positive patients.\
This fixes [#42]
- (**uni**) Add basic working named params mixing. Related to [#95]
- Add `named_params` to all models. Fixes [#95]
- Add `named_params` to model constructors. Related to [#95]

### Testing

- Add basic tests for `NamedParamsMixin`. Related to [#95]
- Check partial globals work.\
E.g. `ipsi_spread` should set the `spread` of all LNLs in the `ipsi`
model. Related to [#95]

### Change

- (**mid**) Set default `use_central=False`.\
This is a more sane default and does not result in a `ValueError` when
creating the model with the default arguments.
- (**hpv**) Put data split into HPV class.
- (**hpv**) Delegate methods via `hpv_status` arg.\
Instead of re-implementing or copy-pasting methods from the `Unilateral`
class, they simply compute those model's corresponding method that was
selected via the `hpv_status` (keyword) argument.

<a name="1.2.3"></a>

## [1.2.3] - 2024-07-26
Expand Down Expand Up @@ -771,6 +819,8 @@ Almost the entire API has changed. I'd therefore recommend to have a look at the
- fix pyproject.toml typo
- add pre-commit hook to check commit msg

[1.3.0]: https://github.com/rmnldwg/lymph/compare/1.2.3...1.3.0
[1.2.3]: https://github.com/rmnldwg/lymph/compare/1.2.2...1.2.3
[1.2.2]: https://github.com/rmnldwg/lymph/compare/1.2.1...1.2.2
[1.2.1]: https://github.com/rmnldwg/lymph/compare/1.1.0...1.2.1
[1.2.0]: https://github.com/rmnldwg/lymph/compare/1.1.0...1.2.0
Expand All @@ -790,6 +840,7 @@ Almost the entire API has changed. I'd therefore recommend to have a look at the
[0.4.1]: https://github.com/rmnldwg/lymph/compare/0.4.0...0.4.1
[0.4.0]: https://github.com/rmnldwg/lymph/compare/0.3.10...0.4.0

[#95]: https://github.com/rmnldwg/lymph/issues/95
[#88]: https://github.com/rmnldwg/lymph/issues/88
[#87]: https://github.com/rmnldwg/lymph/issues/87
[#85]: https://github.com/rmnldwg/lymph/issues/85
Expand All @@ -810,6 +861,7 @@ Almost the entire API has changed. I'd therefore recommend to have a look at the
[#53]: https://github.com/rmnldwg/lymph/issues/53
[#46]: https://github.com/rmnldwg/lymph/issues/46
[#45]: https://github.com/rmnldwg/lymph/issues/45
[#42]: https://github.com/rmnldwg/lymph/issues/42
[#41]: https://github.com/rmnldwg/lymph/issues/41
[#40]: https://github.com/rmnldwg/lymph/issues/40
[#38]: https://github.com/rmnldwg/lymph/issues/38
Expand Down