Skip to content

Commit

Permalink
Release 0.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dilpath authored Feb 22, 2024
2 parents 6100728 + 52a8f26 commit 8d97c58
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changes

## 0.1.13
- fixed bug when no predecessor model is provided, introduced in 0.1.11 (#83)

## 0.1.12
- fixed bug in last version: non-FAMoS methods do not terminate

Expand Down
5 changes: 4 additions & 1 deletion petab_select/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ def candidates(
predecessor_model = candidate_space.previous_predecessor_model

# If the predecessor model has not yet been calibrated, then calibrate it.
if predecessor_model != VIRTUAL_INITIAL_MODEL:
if (
predecessor_model is not None
and predecessor_model != VIRTUAL_INITIAL_MODEL
):
if (
predecessor_model.get_criterion(
criterion,
Expand Down
2 changes: 1 addition & 1 deletion petab_select/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Version of the model selection extension for PEtab."""
__version__ = '0.1.12'
__version__ = '0.1.13'

0 comments on commit 8d97c58

Please sign in to comment.