diff --git a/python/sdist/amici/jax/petab.py b/python/sdist/amici/jax/petab.py index 3785a39594..3aa0f6bca8 100644 --- a/python/sdist/amici/jax/petab.py +++ b/python/sdist/amici/jax/petab.py @@ -25,7 +25,7 @@ "atol": 1e-8, "rtol": 1e-8, "pcoeff": 1.0, - "icoeff": 1.0, + "icoeff": 0.3, "dcoeff": 0.0, } @@ -582,7 +582,8 @@ def run_simulations( :return: Overall output value and condition specific results and statistics. """ - ret = ReturnValue[ret] + if isinstance(ret, str): + ret = ReturnValue[ret] if simulation_conditions is None: simulation_conditions = problem.get_all_simulation_conditions()