|
5 | 5 |
|
6 | 6 | from warnings import warn |
7 | 7 |
|
8 | | -# TODO: remove v1 star imports |
9 | | -from ..v1.calculate import * # noqa: F403, F401, E402 |
10 | | -from ..v1.composite_problem import * # noqa: F403, F401, E402 |
11 | | -from ..v1.core import * # noqa: F403, F401, E402 |
12 | | -from ..v1.format_version import __format_version__ # noqa: F401, E402 |
13 | | -from ..v1.mapping import * # noqa: F403, F401, E402 |
14 | | -from ..v1.measurements import * # noqa: F403, F401, E402 |
15 | | -from ..v1.observables import * # noqa: F403, F401, E402 |
16 | | -from ..v1.parameter_mapping import * # noqa: F403, F401, E402 |
17 | | -from ..v1.parameters import * # noqa: F403, F401, E402 |
18 | | -from ..v1.sampling import * # noqa: F403, F401, E402 |
19 | | -from ..v1.sbml import * # noqa: F403, F401, E402 |
20 | | -from ..v1.simulate import * # noqa: F403, F401, E402 |
21 | | -from ..v1.yaml import * # noqa: F403, F401, E402 |
22 | | - |
23 | 8 | warn( |
24 | 9 | "Support for PEtab2.0 and all of petab.v2 is experimental " |
25 | 10 | "and subject to changes!", |
26 | 11 | stacklevel=1, |
27 | 12 | ) |
28 | 13 |
|
| 14 | +# TODO: move this module to v2 |
| 15 | +from petab.v1.mapping import ( # noqa: F403, F401, E402 |
| 16 | + get_mapping_df, |
| 17 | + write_mapping_df, |
| 18 | +) |
| 19 | +from petab.v1.measurements import ( # noqa: F401, E402 |
| 20 | + get_measurement_df, |
| 21 | + write_measurement_df, |
| 22 | +) |
| 23 | +from petab.v1.observables import ( # noqa: F401, E402 |
| 24 | + get_observable_df, |
| 25 | + write_observable_df, |
| 26 | +) |
| 27 | +from petab.v1.yaml import load_yaml # noqa: F401, E402 |
| 28 | + |
29 | 29 | # import after v1 |
30 | 30 | from ..version import __version__ # noqa: F401, E402 |
31 | 31 | from . import ( # noqa: F401, E402 |
|
38 | 38 | write_experiment_df, |
39 | 39 | ) |
40 | 40 | from .lint import lint_problem # noqa: F401, E402 |
41 | | -from .models import Model # noqa: F401, E402 |
42 | | -from .problem import Problem # noqa: F401, E402 |
| 41 | +from .models import MODEL_TYPE_PYSB, MODEL_TYPE_SBML, Model # noqa: F401, E402 |
| 42 | +from .problem import Problem, ProblemConfig # noqa: F401, E402 |
0 commit comments