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 33f86bb commit 5a84682
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/sdist/amici/jax/petab.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ def nn_output_ids(self) -> list[str]:
:return:
PEtab parameter ids
"""
if self._petab_problem.parameter_df is None:
return []
return self._petab_problem.mapping_df[
self._petab_problem.mapping_df[
petab.MODEL_ENTITY_ID
Expand Down

0 comments on commit 5a84682

Please sign in to comment.