Skip to content

Commit

Permalink
no deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Jun 12, 2024
1 parent 18833d1 commit d0459d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions python/sdist/amici/petab/cli/import_petab.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@ def _main():

import_model_sbml(
model_name=args.model_name,
sbml_model=pp.sbml_model,
condition_table=pp.condition_df,
observable_table=pp.observable_df,
measurement_table=pp.measurement_df,
petab_problem=pp,
model_output_dir=args.model_output_dir,
compile=args.compile,
generate_sensitivity_code=args.generate_sensitivity_code,
Expand Down
1 change: 1 addition & 0 deletions python/sdist/amici/petab/sbml_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def import_model_sbml(
else SbmlModel.from_file(sbml_model),
condition_df=petab.get_condition_df(condition_table),
observable_df=petab.get_observable_df(observable_table),
measurement_df=petab.get_measurement_df(measurement_table),
)

if petab_problem.observable_df is None:
Expand Down

0 comments on commit d0459d9

Please sign in to comment.