Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise in simulate_petab with scaled_parameters=True problem_parameters=None #1819

Merged
merged 1 commit into from
Jul 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion python/amici/petab_objective.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ def simulate_petab(
# Use PEtab nominal values as default
problem_parameters = {t.Index: getattr(t, NOMINAL_VALUE) for t in
petab_problem.parameter_df.itertuples()}
scaled_parameters = False
if scaled_parameters:
raise NotImplementedError(
"scaled_parameters=True in combination with "
"problem_parameters=None is currently not supported.")

# number of amici simulations will be number of unique
# (preequilibrationConditionId, simulationConditionId) pairs.
Expand Down