Skip to content

Commit

Permalink
Update petab.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FFroehlich committed Dec 8, 2024
1 parent 8b8f9a8 commit 982d275
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/sdist/amici/jax/petab.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ def _get_nominal_parameter_values(
), model

def _get_inputs(self):
if (
self._petab_problem.mapping_df is None
or "netId" not in self._petab_problem.mapping_df.columns
):
return {}
inputs = {
net: {} for net in self._petab_problem.mapping_df["netId"].unique()
}
Expand Down

0 comments on commit 982d275

Please sign in to comment.