From 73e5034bb387933a1e06ba92b1f4bebfcfed73d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Fr=C3=B6hlich?= Date: Sat, 7 Dec 2024 20:18:28 +0000 Subject: [PATCH] fixup --- python/sdist/amici/jax/petab.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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()