Skip to content

Commit

Permalink
Refactor: PEtab code to sub-package (#2205)
Browse files Browse the repository at this point in the history
Move PEtab-related code to a new `amici.petab` subpackage. An attempt to organize the growing codebase a bit better. More to be done. Unless anybody is using private functions, this should not break anything.

More parts to be moved separately. No change in functionality.
  • Loading branch information
dweindl authored Nov 21, 2023
1 parent ffcbf66 commit 67c9ca9
Show file tree
Hide file tree
Showing 13 changed files with 1,525 additions and 1,437 deletions.
3 changes: 2 additions & 1 deletion python/sdist/amici/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
models and turning them into C++ Python extensions.
"""


import contextlib
import importlib
import os
Expand Down Expand Up @@ -132,6 +131,8 @@ def get_model(self) -> amici.Model:
"""Create a model instance."""
...

AmiciModel = Union[amici.Model, amici.ModelPtr]


class add_path:
"""Context manager for temporarily changing PYTHONPATH"""
Expand Down
Loading

0 comments on commit 67c9ca9

Please sign in to comment.