Skip to content

Commit

Permalink
Fix PEtab deprecation warning (#2122)
Browse files Browse the repository at this point in the history
Fixes `/home/runner/work/AMICI/AMICI/python/tests/splines_utils.py:265: DeprecationWarning: The `sbml_file` argument is deprecated and will be removed in a future version. Use `model_file` instead.`
  • Loading branch information
dweindl authored Jun 19, 2023
1 parent b306c42 commit 02555e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/splines_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def create_petab_problem(
folder = os.path.abspath(folder)
os.makedirs(folder, exist_ok=True)
problem.to_files(
sbml_file=os.path.join(folder, f"{model_name}_model.xml"),
model_file=os.path.join(folder, f"{model_name}_model.xml"),
condition_file=os.path.join(folder, f"{model_name}_conditions.tsv"),
measurement_file=os.path.join(folder, f"{model_name}_measurements.tsv"),
parameter_file=os.path.join(folder, f"{model_name}_parameters.tsv"),
Expand Down

0 comments on commit 02555e3

Please sign in to comment.