Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dilpath committed Nov 29, 2024
1 parent 85f4cff commit 5d8faac
Show file tree
Hide file tree
Showing 5 changed files with 254 additions and 144 deletions.
6 changes: 5 additions & 1 deletion petab_select/candidate_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,11 @@ def set_iteration_user_calibrated_models(
iteration_user_calibrated_models = Models()
for model in self.models:
if (
(user_model := user_calibrated_models[model.get_hash()])
(
user_model := user_calibrated_models.get(
model.get_hash(), None
)
)
is not None
) and (
user_model.get_criterion(
Expand Down
Loading

0 comments on commit 5d8faac

Please sign in to comment.