Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
run: uvx pre-commit run --all-files
if: matrix.platform == 'ubuntu-latest'

- name: Fetch BNGL test corpus
run: uv run python tests/v1/fetch_bngl_corpus.py

- name: Unit tests
run: |
uv sync --group ci
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,6 @@ venv.bak/

_untracked
doc/_static/README.rst

# BNGL corpus fixtures are fetched on demand (tests/v1/fetch_bngl_corpus.py)
tests/v1/bngl_corpus/*.bngl
11 changes: 10 additions & 1 deletion petab/v1/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,21 @@
MODEL_TYPE_SBML = "sbml"
#: PySB model type as used in a PEtab v2 yaml file as `language`.
MODEL_TYPE_PYSB = "pysb"
#: BNGL model type as used in a PEtab v2 yaml file as `language`.
MODEL_TYPE_BNGL = "bngl"

known_model_types = {
MODEL_TYPE_SBML,
MODEL_TYPE_PYSB,
MODEL_TYPE_BNGL,
}

from .model import Model # noqa F401

__all__ = ["MODEL_TYPE_SBML", "MODEL_TYPE_PYSB", "known_model_types", "Model"]
__all__ = [
"MODEL_TYPE_SBML",
"MODEL_TYPE_PYSB",
"MODEL_TYPE_BNGL",
"known_model_types",
"Model",
]
Loading