11"""
2- The AMICI Python module provides functionality for importing SBML or PySB
3- models and turning them into C++ Python extensions.
2+ Top-level module.
43"""
54
65import contextlib
@@ -133,12 +132,16 @@ def get_model_dir(model_id: str | None = None, jax: bool = False) -> Path:
133132
134133# Initialize AMICI paths
135134#: absolute root path of the amici repository or Python package
135+ #: :meta private:
136136amici_path = _get_amici_path ()
137137#: absolute path of the amici swig directory
138+ #: :meta private:
138139amiciSwigPath = os .path .join (amici_path , "swig" )
139140#: absolute path of the amici source directory
141+ #: :meta private:
140142amiciSrcPath = os .path .join (amici_path , "src" )
141143#: absolute root path of the amici module
144+ #: :meta private:
142145amiciModulePath = os .path .dirname (__file__ )
143146
144147
@@ -165,6 +168,8 @@ class add_path:
165168 """Context manager for temporarily changing PYTHONPATH.
166169
167170 Add a path to the PYTHONPATH for the duration of the context manager.
171+
172+ :meta private:
168173 """
169174
170175 def __init__ (self , path : str | Path ):
@@ -183,6 +188,8 @@ class set_path:
183188 """Context manager for temporarily changing PYTHONPATH.
184189
185190 Set the PYTHONPATH to a given path for the duration of the context manager.
191+
192+ :meta private:
186193 """
187194
188195 def __init__ (self , path : str | Path ):
@@ -226,7 +233,7 @@ def import_model_module(
226233 module_name : str , module_path : Path | str
227234) -> ModelModule :
228235 """
229- Import Python module of an AMICI model
236+ Import Python module of an AMICI model.
230237
231238 :param module_name:
232239 Name of the python package of the model
0 commit comments