Skip to content

Commit 4f35eea

Browse files
authored
Move amici.debug (#3091)
Related to #3041.
1 parent f4f401f commit 4f35eea

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

python/sdist/amici/sim/sundials/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
# from .swig_wrappers
5454
hdf5_enabled = "read_solver_settings_from_hdf5" in dir()
5555
# These modules require the swig interface and other dependencies
56+
from ._debugging import get_model_for_preeq
5657
from ._numpy import ExpDataView as ExpDataView
5758
from ._numpy import ReturnDataView as ReturnDataView
5859
from ._numpy import evaluate as evaluate
@@ -83,6 +84,7 @@ def get_model(self) -> amici_swig_py.Model:
8384
"ModelModule",
8485
*_swig_wrappers.__all__,
8586
"AmiciModel",
87+
"get_model_for_preeq",
8688
]
8789

8890
# expose the swig module itself
File renamed without changes.

python/tests/test_preequilibration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import amici
77
import numpy as np
88
import pytest
9-
from amici.debugging import get_model_for_preeq
109
from amici.importers.antimony import antimony2amici
1110
from amici.sim.sundials import (
1211
AMICI_ERROR,
@@ -19,6 +18,7 @@
1918
SteadyStateComputationMode,
2019
SteadyStateSensitivityMode,
2120
SteadyStateStatus,
21+
get_model_for_preeq,
2222
parameter_scaling_from_int_vector,
2323
run_simulation,
2424
)

0 commit comments

Comments
 (0)