diff --git a/test/pypesto/test_pypesto.py b/test/pypesto/test_pypesto.py index c508d5c..efaf10a 100644 --- a/test/pypesto/test_pypesto.py +++ b/test/pypesto/test_pypesto.py @@ -88,8 +88,10 @@ def test_pypesto(test_case_path_stem): ) # Get the best model - best_model = petab_select_problem.get_best( + best_model = petab_select.analyze.get_best( models=pypesto_select_problem.calibrated_models, + criterion=petab_select_problem.criterion, + compare=petab_select_problem.compare, ) # Load the expected model. @@ -113,7 +115,7 @@ def get_series(model, dict_attribute) -> pd.Series: @pytest.mark.skipif( - os.getenv("GITHUB_ACTIONS"), + os.getenv("GITHUB_ACTIONS") == "true", reason="Too CPU heavy for CI.", ) def test_famos_cli():