Skip to content

Commit

Permalink
fix output dict construction
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich committed Dec 5, 2024
1 parent 9d82a6c commit 9a25420
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/sdist/amici/jax/petab.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,4 +421,7 @@ def run_simulations(
)
for sc in simulation_conditions
}
return sum(llh for llh, _ in results.values()), results | preeqs
return sum(llh for llh, _ in results.values()), {

Check warning on line 424 in python/sdist/amici/jax/petab.py

View check run for this annotation

Codecov / codecov/patch

python/sdist/amici/jax/petab.py#L424

Added line #L424 was not covered by tests
sc: res[1] | preeqs[sc[1]][1] if len(sc) > 1 else res[1]
for sc, res in results.items()
}

0 comments on commit 9a25420

Please sign in to comment.