Skip to content

Commit 8d97c58

Browse files
authored
Release 0.1.13
2 parents 6100728 + 52a8f26 commit 8d97c58

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

changes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changes
22

3+
## 0.1.13
4+
- fixed bug when no predecessor model is provided, introduced in 0.1.11 (#83)
5+
36
## 0.1.12
47
- fixed bug in last version: non-FAMoS methods do not terminate
58

petab_select/ui.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ def candidates(
9494
predecessor_model = candidate_space.previous_predecessor_model
9595

9696
# If the predecessor model has not yet been calibrated, then calibrate it.
97-
if predecessor_model != VIRTUAL_INITIAL_MODEL:
97+
if (
98+
predecessor_model is not None
99+
and predecessor_model != VIRTUAL_INITIAL_MODEL
100+
):
98101
if (
99102
predecessor_model.get_criterion(
100103
criterion,

petab_select/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Version of the model selection extension for PEtab."""
2-
__version__ = '0.1.12'
2+
__version__ = '0.1.13'

0 commit comments

Comments
 (0)