Skip to content

Commit

Permalink
Get rid of petab DeprecationWarnings
Browse files Browse the repository at this point in the history
Use petab.v1. Closes AMICI-dev#2509.
  • Loading branch information
dweindl committed Sep 29, 2024
1 parent 8ce245a commit df7bb04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/sdist/amici/petab/cli/import_petab.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import argparse

import petab
import petab.v1 as petab

from ..petab_import import import_model_sbml
from petab.v1.models.sbml_model import SbmlModel
Expand Down
4 changes: 2 additions & 2 deletions tests/performance/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from pathlib import Path

import amici
import petab
from amici.petab_import import import_model
import petab.v1 as petab
from amici.petab.petab_import import import_model


def parse_args():
Expand Down

0 comments on commit df7bb04

Please sign in to comment.