sbml2cellml 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.bumpversion.toml +1 -1
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/dependabot.yml +3 -2
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/workflows/ci-cd.yml +34 -21
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/workflows/docs.yml +15 -11
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/workflows/ruff.yml +1 -1
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/workflows/ty.yml +3 -9
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.gitignore +4 -1
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.pre-commit-config.yaml +3 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.ruff.toml +2 -2
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/CITATION.cff +1 -1
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/CLAUDE.md +10 -12
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/PKG-INFO +3 -1
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/README.md +2 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/development.md +12 -7
- sbml2cellml-0.4.3/docs/images/favicon/apple-touch-icon.png +0 -0
- sbml2cellml-0.4.3/docs/images/favicon/favicon.ico +0 -0
- sbml2cellml-0.4.3/docs/images/favicon/favicon.svg +18 -0
- sbml2cellml-0.4.3/docs/images/sbml2cellml-logo.png +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/index.md +2 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.1.0.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.2.0.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.3.0.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.3.1.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.3.2.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.3.3.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.3.4.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.3.5.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.4.0.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.4.1.md +1 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/0.4.2.md +1 -0
- sbml2cellml-0.4.3/docs/release-notes/0.4.3.md +22 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/release-notes/index.md +1 -0
- sbml2cellml-0.4.3/overrides/main.html +11 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/__init__.py +1 -1
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/sbml2cellml.py +2 -2
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_package.py +17 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/uv.lock +26 -26
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/zensical.toml +6 -0
- sbml2cellml-0.4.2/superpowers/plans/2026-09-16-s1-package-infrastructure.md +0 -3017
- sbml2cellml-0.4.2/superpowers/plans/2026-09-17-s2-cellml2sbml.md +0 -2640
- sbml2cellml-0.4.2/superpowers/plans/2026-09-17-s3-testsuite.md +0 -2075
- sbml2cellml-0.4.2/superpowers/plans/2026-09-17-s4-biomodels.md +0 -442
- sbml2cellml-0.4.2/superpowers/plans/2026-09-19-s6-metadata.md +0 -23
- sbml2cellml-0.4.2/superpowers/specs/2026-09-16-s1-package-infrastructure-design.md +0 -295
- sbml2cellml-0.4.2/superpowers/specs/2026-09-17-s2-cellml2sbml-design.md +0 -195
- sbml2cellml-0.4.2/superpowers/specs/2026-09-17-s3-testsuite-design.md +0 -80
- sbml2cellml-0.4.2/superpowers/specs/2026-09-17-s4-biomodels-design.md +0 -51
- sbml2cellml-0.4.2/superpowers/specs/2026-09-19-s6-metadata-design.md +0 -45
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/CODEOWNERS +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/pull_request_template.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/rulesets/apply.sh +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/rulesets/develop.json +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/rulesets/main.json +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.github/rulesets/tags.json +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.python-version +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/.zenodo.json +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/LICENSE +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/biomodels/README.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/biomodels/models.json +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/biomodels/results.json +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/README.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/astnodes.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/biomodels.cases.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/biomodels.cli.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/biomodels.models.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/biomodels.runner.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/cellml.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/cellml2sbml.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/cellmlunits.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/cli.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/console.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/index.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/log.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/mathml.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/metadata.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/sbml.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/sbml2cellml.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/sbmlmath.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/simulate.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.cases.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.cli.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.compare.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.figure.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.report.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.results.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.runner.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.simulators.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/testsuite.worker.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/units.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/api/variables.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/biomodels.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/conversion-issues.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/conversion.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/images/biomodels.svg +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/images/biomodels_dark.svg +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/images/repressilator.svg +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/images/repressilator_dark.svg +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/images/testsuite.svg +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/images/testsuite_dark.svg +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/installation.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/robots.txt +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/roundtrip/repressilator.cellml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/roundtrip/repressilator.rdf +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/roundtrip/repressilator_differences.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/roundtrip/repressilator_roundtrip.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/roundtrip.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/simulation.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/stylesheets/extra.css +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/docs/testsuite.md +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/__init__.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/cellml2sbml_example.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/cellml_example.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/glimepiride_example.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/models/glimepiride_body.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/models/glimepiride_body_flat.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/models/glimepiride_intestine.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/models/glimepiride_kidney.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/models/glimepiride_liver.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/models/repressilator.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/models/test_model.cellml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/repressilator_example.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/examples/roadrunner_timecourse.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/pyproject.toml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/references/cellml_2_0_1_normative_specification.pdf +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/references/cellml_reset_example.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/references/libopencor.ipynb +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/scripts/__init__.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/scripts/llms_txt.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/astnodes.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/biomodels/__init__.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/biomodels/cases.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/biomodels/cli.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/biomodels/models.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/biomodels/runner.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/cellml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/cellml2sbml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/cellmlunits.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/cli.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/console.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/log.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/mathml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/metadata.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/sbml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/sbmlmath.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/simulate.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/__init__.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/cases.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/cli.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/compare.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/figure.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/report.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/results.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/runner.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/simulators.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/testsuite/worker.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/units.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/src/sbml2cellml/variables.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/__init__.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/biomodels_mocks.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/cellml_models.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/conftest.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/import_child.cellml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/import_parent.cellml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00001/00001-model.m +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00001/00001-results.csv +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00001/00001-sbml-l3v2.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00001/00001-settings.txt +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00025/00025-model.m +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00025/00025-results.csv +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00025/00025-sbml-l3v2.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00025/00025-settings.txt +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00026/00026-model.m +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00026/00026-results.csv +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00026/00026-sbml-l3v2.xml +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/data/testsuite/semantic/00026/00026-settings.txt +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/sbml_models.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/simulators.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_astnodes.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_biomodels_cases.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_biomodels_cli.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_biomodels_models.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_biomodels_results.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_biomodels_runner.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_cellml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_cellml2sbml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_cli.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_examples.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_mathml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_metadata.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_metadata_conversion.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_roundtrip.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_sbml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_sbml2cellml.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_sbml2cellml_units.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_sbmlmath.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_simulate.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_testsuite_cases.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_testsuite_compare.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_testsuite_figure.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_testsuite_full.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_testsuite_report.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_testsuite_results.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_testsuite_runner.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_testsuite_worker.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_units.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tests/test_variables.py +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/testsuite/results.json +0 -0
- {sbml2cellml-0.4.2 → sbml2cellml-0.4.3}/tox.ini +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
# Keep the GitHub Actions used in the workflows up to date
|
|
1
|
+
# Keep the GitHub Actions used in the workflows up to date, monthly, since every
|
|
2
|
+
# update pull request runs the checks.
|
|
2
3
|
# See https://docs.github.com/code-security/dependabot/dependabot-version-updates
|
|
3
4
|
version: 2
|
|
4
5
|
updates:
|
|
5
6
|
- package-ecosystem: "github-actions"
|
|
6
7
|
directory: "/"
|
|
7
8
|
schedule:
|
|
8
|
-
interval: "
|
|
9
|
+
interval: "monthly"
|
|
9
10
|
# a single pull request for all action updates instead of one per action
|
|
10
11
|
groups:
|
|
11
12
|
github-actions:
|
|
@@ -15,54 +15,67 @@ permissions:
|
|
|
15
15
|
|
|
16
16
|
concurrency:
|
|
17
17
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
18
|
-
#
|
|
19
|
-
|
|
18
|
+
# a newer run supersedes the running one of the same branch or pull request;
|
|
19
|
+
# a release is never superseded, every tag is a group of its own
|
|
20
|
+
cancel-in-progress: true
|
|
20
21
|
|
|
21
22
|
jobs:
|
|
22
23
|
test:
|
|
23
24
|
runs-on: ${{ matrix.os }}
|
|
24
|
-
timeout-minutes:
|
|
25
|
+
timeout-minutes: 30
|
|
26
|
+
env:
|
|
27
|
+
# the tests run with the standalone interpreter uv manages, whose libpython
|
|
28
|
+
# is put on the library search path below
|
|
29
|
+
UV_PYTHON_PREFERENCE: only-managed
|
|
25
30
|
strategy:
|
|
26
31
|
fail-fast: false
|
|
27
32
|
matrix:
|
|
28
33
|
# no windows for now: the win_amd64 wheels of libcellml 0.7.1 contain
|
|
29
34
|
# ARM64 binaries (https://github.com/cellml/libcellml/issues/1460)
|
|
30
35
|
os: [ubuntu-latest, macos-latest]
|
|
31
|
-
python
|
|
36
|
+
# continuous integration tests the newest python, 3.13 is tested
|
|
37
|
+
# locally with `tox run-parallel`, see docs/development.md
|
|
38
|
+
python-version: ["3.14"]
|
|
32
39
|
|
|
33
40
|
steps:
|
|
34
41
|
- uses: actions/checkout@v7
|
|
35
42
|
with:
|
|
36
43
|
persist-credentials: false
|
|
37
|
-
- name: Install the python dev files (linux only)
|
|
38
|
-
# the extension of libroadrunner links against libpython, which the
|
|
39
|
-
# standalone interpreters do not put on the library search path
|
|
40
|
-
run: |
|
|
41
|
-
if [ "$RUNNER_OS" == "Linux" ]; then
|
|
42
|
-
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
|
43
|
-
sudo apt-get update
|
|
44
|
-
sudo apt-get install -y python${{ matrix.python-version }}-dev
|
|
45
|
-
fi
|
|
46
|
-
shell: bash
|
|
47
44
|
- name: Install uv and set the python version
|
|
48
45
|
# astral-sh/setup-uv publishes no floating major tag beyond v7
|
|
49
|
-
uses: astral-sh/setup-uv@v10.
|
|
46
|
+
uses: astral-sh/setup-uv@v10.2.0
|
|
50
47
|
with:
|
|
51
48
|
python-version: ${{ matrix.python-version }}
|
|
52
49
|
enable-cache: true
|
|
50
|
+
# the interpreter is cached with the packages instead of downloaded by every run
|
|
51
|
+
cache-python: true
|
|
52
|
+
- name: Put libpython on the library search path (linux only)
|
|
53
|
+
# the extension of libroadrunner links against libpython3.X.so.1.0. The
|
|
54
|
+
# standalone interpreters of uv ship it in their `lib` directory but are
|
|
55
|
+
# linked statically and never load it, so without this the import of
|
|
56
|
+
# roadrunner fails. tox passes LD_LIBRARY_PATH on to the tests.
|
|
57
|
+
if: runner.os == 'Linux'
|
|
58
|
+
env:
|
|
59
|
+
PYTHON_VERSION: ${{ matrix.python-version }}
|
|
60
|
+
run: |
|
|
61
|
+
uv python install "$PYTHON_VERSION"
|
|
62
|
+
prefix="$("$(uv python find --no-project "$PYTHON_VERSION")" -c 'import sys; print(sys.base_prefix)')"
|
|
63
|
+
echo "LD_LIBRARY_PATH=${prefix}/lib" >> "$GITHUB_ENV"
|
|
64
|
+
shell: bash
|
|
53
65
|
- name: Cache the SBML test suite
|
|
54
|
-
# the complete SBML test suite runs on linux
|
|
55
|
-
if: runner.os == 'Linux'
|
|
66
|
+
# the complete SBML test suite runs on linux only
|
|
67
|
+
if: runner.os == 'Linux'
|
|
56
68
|
uses: actions/cache@v6
|
|
57
69
|
with:
|
|
58
70
|
path: ~/.cache/sbml2cellml
|
|
59
71
|
key: sbml-test-suite-3.5.0
|
|
60
72
|
- name: Test with tox
|
|
61
73
|
env:
|
|
62
|
-
# the complete SBML test suite runs on linux
|
|
63
|
-
SBML2CELLML_TESTSUITE: ${{ runner.os == 'Linux' &&
|
|
74
|
+
# the complete SBML test suite runs on linux only
|
|
75
|
+
SBML2CELLML_TESTSUITE: ${{ runner.os == 'Linux' && '1' || '' }}
|
|
76
|
+
# the slowest tests are listed, so that a test which becomes slow is seen
|
|
64
77
|
run:
|
|
65
|
-
uvx --with tox-uv tox -e py${{ matrix.python-version }}
|
|
78
|
+
uvx --with tox-uv tox -e py${{ matrix.python-version }} -- --durations=15
|
|
66
79
|
|
|
67
80
|
tests:
|
|
68
81
|
# the one check the branch protection requires; the names of the matrix
|
|
@@ -96,7 +109,7 @@ jobs:
|
|
|
96
109
|
with:
|
|
97
110
|
persist-credentials: false
|
|
98
111
|
- name: Install uv
|
|
99
|
-
uses: astral-sh/setup-uv@v10.
|
|
112
|
+
uses: astral-sh/setup-uv@v10.2.0
|
|
100
113
|
with:
|
|
101
114
|
python-version: "3.14"
|
|
102
115
|
enable-cache: true
|
|
@@ -12,10 +12,10 @@ permissions:
|
|
|
12
12
|
contents: read
|
|
13
13
|
|
|
14
14
|
concurrency:
|
|
15
|
-
# one run per branch or pull request, so that a deployment of `develop` is
|
|
16
|
-
# never overtaken by the next one, which would leave the site half published
|
|
17
15
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
18
|
-
|
|
16
|
+
# a newer run supersedes the running one; a cancelled deployment leaves the
|
|
17
|
+
# published site as it was, the newer run deploys
|
|
18
|
+
cancel-in-progress: true
|
|
19
19
|
|
|
20
20
|
jobs:
|
|
21
21
|
docs:
|
|
@@ -23,24 +23,28 @@ jobs:
|
|
|
23
23
|
name: docs
|
|
24
24
|
runs-on: ubuntu-latest
|
|
25
25
|
timeout-minutes: 20
|
|
26
|
+
env:
|
|
27
|
+
# the standalone interpreter uv manages, see the `test` job of ci-cd.yml
|
|
28
|
+
UV_PYTHON_PREFERENCE: only-managed
|
|
26
29
|
steps:
|
|
27
30
|
- uses: actions/checkout@v7
|
|
28
31
|
with:
|
|
29
32
|
persist-credentials: false
|
|
30
33
|
- name: Configure GitHub Pages
|
|
31
34
|
uses: actions/configure-pages@v6
|
|
32
|
-
- name: Install the python dev files
|
|
33
|
-
# the extension of libroadrunner links against libpython, which the
|
|
34
|
-
# standalone interpreters do not put on the library search path
|
|
35
|
-
run: |
|
|
36
|
-
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
|
37
|
-
sudo apt-get update
|
|
38
|
-
sudo apt-get install -y python3.14-dev
|
|
39
35
|
- name: Install uv and set the python version
|
|
40
|
-
uses: astral-sh/setup-uv@v10.
|
|
36
|
+
uses: astral-sh/setup-uv@v10.2.0
|
|
41
37
|
with:
|
|
42
38
|
python-version: "3.14"
|
|
43
39
|
enable-cache: true
|
|
40
|
+
cache-python: true
|
|
41
|
+
- name: Put libpython on the library search path
|
|
42
|
+
# the extension of libroadrunner links against libpython, see the `test`
|
|
43
|
+
# job of ci-cd.yml
|
|
44
|
+
run: |
|
|
45
|
+
uv python install 3.14
|
|
46
|
+
prefix="$("$(uv python find --no-project 3.14)" -c 'import sys; print(sys.base_prefix)')"
|
|
47
|
+
echo "LD_LIBRARY_PATH=${prefix}/lib" >> "$GITHUB_ENV"
|
|
44
48
|
- name: Install dependencies
|
|
45
49
|
run: uv sync --extra dev
|
|
46
50
|
- name: Build the documentation
|
|
@@ -13,7 +13,7 @@ permissions:
|
|
|
13
13
|
|
|
14
14
|
concurrency:
|
|
15
15
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
16
|
-
cancel-in-progress:
|
|
16
|
+
cancel-in-progress: true
|
|
17
17
|
|
|
18
18
|
jobs:
|
|
19
19
|
ty:
|
|
@@ -25,18 +25,12 @@ jobs:
|
|
|
25
25
|
- uses: actions/checkout@v7
|
|
26
26
|
with:
|
|
27
27
|
persist-credentials: false
|
|
28
|
-
- name: Install the python dev files
|
|
29
|
-
# the extension of libroadrunner links against libpython, which the
|
|
30
|
-
# standalone interpreters do not put on the library search path
|
|
31
|
-
run: |
|
|
32
|
-
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
|
33
|
-
sudo apt-get update
|
|
34
|
-
sudo apt-get install -y python3.14-dev
|
|
35
28
|
- name: Install uv and set the python version
|
|
36
|
-
uses: astral-sh/setup-uv@v10.
|
|
29
|
+
uses: astral-sh/setup-uv@v10.2.0
|
|
37
30
|
with:
|
|
38
31
|
python-version: "3.14"
|
|
39
32
|
enable-cache: true
|
|
33
|
+
cache-python: true
|
|
40
34
|
- name: Type check with tox
|
|
41
35
|
env:
|
|
42
36
|
# render diagnostics as GitHub Actions workflow annotations
|
|
@@ -15,8 +15,11 @@ dist/
|
|
|
15
15
|
coverage.xml
|
|
16
16
|
# build cache of zensical
|
|
17
17
|
.cache/
|
|
18
|
-
#
|
|
18
|
+
# working files of coding agents, their design documents and plans are not committed
|
|
19
19
|
.superpowers/
|
|
20
|
+
/superpowers/
|
|
21
|
+
.claude/plans/
|
|
22
|
+
.claude/specs/
|
|
20
23
|
|
|
21
24
|
# rendered documentation, built by the `documentation` workflow
|
|
22
25
|
site/
|
|
@@ -23,10 +23,13 @@ repos:
|
|
|
23
23
|
description: Check for files that contain merge conflict strings
|
|
24
24
|
- id: check-symlinks
|
|
25
25
|
description: Check for symlinks which do not point to anything
|
|
26
|
+
# the example models are kept as published, e.g. the repressilator of BioModels
|
|
26
27
|
- id: trailing-whitespace
|
|
27
28
|
description: Trim trailing whitespaces
|
|
29
|
+
exclude: ^examples/models/
|
|
28
30
|
- id: end-of-file-fixer
|
|
29
31
|
description: Fix empty lines at ends of files
|
|
32
|
+
exclude: ^examples/models/
|
|
30
33
|
- id: detect-private-key
|
|
31
34
|
description: Detects the presence of private keys
|
|
32
35
|
- id: check-case-conflict
|
|
@@ -6,8 +6,8 @@ indent-width = 4
|
|
|
6
6
|
target-version = "py313"
|
|
7
7
|
|
|
8
8
|
# `references/` holds external reference material kept verbatim (a CellML
|
|
9
|
-
# spec example, a libopencor notebook), and `superpowers/`
|
|
10
|
-
#
|
|
9
|
+
# spec example, a libopencor notebook), and `superpowers/` the design documents
|
|
10
|
+
# and plans of coding agents, gitignored; neither is source the package ships, so
|
|
11
11
|
# ruff (which checks and formats markdown and notebooks by default) leaves
|
|
12
12
|
# them alone. `tool.ty.src.include` in pyproject.toml scopes ty the same way.
|
|
13
13
|
extend-exclude = ["references", "superpowers"]
|
|
@@ -8,7 +8,7 @@ authors:
|
|
|
8
8
|
given-names: "Matthias"
|
|
9
9
|
orcid: "https://orcid.org/0000-0003-1725-179X"
|
|
10
10
|
affiliation: "Humboldt-University Berlin, Faculty of Life Science, Institute for Biology, Biology, Berlin; University Lübeck; University Hospital Schleswig-Holstein, Campus Lübeck, First Department of Medicine, Germany"
|
|
11
|
-
version: "0.4.
|
|
11
|
+
version: "0.4.3"
|
|
12
12
|
date-released: "2026-09-19"
|
|
13
13
|
doi: "10.5281/zenodo.22829187"
|
|
14
14
|
license: MIT
|
|
@@ -22,7 +22,7 @@ pytest # all tests (parallel, pytest-xdist)
|
|
|
22
22
|
pytest tests/test_sbml2cellml.py::test_simple_model_initial_values
|
|
23
23
|
tox r -e py3.14 # tests from uv.lock via tox-uv (also py3.13)
|
|
24
24
|
tox r -e ty # type check
|
|
25
|
-
tox run-parallel
|
|
25
|
+
tox run-parallel # py3.13, py3.14 and ty, run before opening a pull request
|
|
26
26
|
|
|
27
27
|
ruff check
|
|
28
28
|
ruff format
|
|
@@ -45,14 +45,7 @@ uv run sbml2cellml-biomodels update # refresh the committed selection biomod
|
|
|
45
45
|
uv run sbml2cellml-biomodels report # rerender docs/biomodels.md and the figures from the results file
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
`develop` is the default branch and takes every change through a pull request;
|
|
49
|
-
the rulesets in `.github/rulesets/` (applied with `apply.sh`) require the
|
|
50
|
-
`tests`, `ruff`, `ty` and `docs` checks. `main` tracks the latest release and
|
|
51
|
-
is fast-forwarded by the `sync-main` job of the release workflow. Release
|
|
52
|
-
steps are in `docs/development.md`: release branch,
|
|
53
|
-
`uvx bump-my-version bump [major|minor|patch]` (updates `__init__.py` and
|
|
54
|
-
`CITATION.cff`, no tag), release notes in `docs/release-notes/`, pull request, tag
|
|
55
|
-
on `develop` after the merge.
|
|
48
|
+
`develop` is the default branch and takes every change through a pull request; the rulesets in `.github/rulesets/` (applied with `apply.sh`) require the `tests`, `ruff`, `ty` and `docs` checks. Continuous integration is kept minimal: `tests` runs only `py3.14`, on linux and macos, every workflow cancels a superseded run (`cancel-in-progress: true`), uv caches packages and interpreters, dependabot runs monthly; `py3.13` runs only locally. `main` tracks the latest release and is fast-forwarded by the `sync-main` job of the release workflow. Release steps are in `docs/development.md`: release branch, `uvx bump-my-version bump [major|minor|patch]` (updates `__init__.py` and `CITATION.cff`, no tag), release notes in `docs/release-notes/`, pull request, tag on `develop` after the merge.
|
|
56
49
|
|
|
57
50
|
## Architecture
|
|
58
51
|
|
|
@@ -244,9 +237,14 @@ on `develop` after the merge.
|
|
|
244
237
|
weakening the assertion.
|
|
245
238
|
- No em dash in any text, use `-`.
|
|
246
239
|
- Release notes go in `docs/release-notes/x.y.z.md` as part of a release
|
|
247
|
-
commit, with an entry in the nav of
|
|
248
|
-
`docs/release-notes/index.md`
|
|
249
|
-
|
|
240
|
+
commit, the logo below the heading, with an entry in the nav of
|
|
241
|
+
`zensical.toml` and in the overview `docs/release-notes/index.md`
|
|
242
|
+
(`tests/test_package.py` checks all three); the release workflow uses the
|
|
243
|
+
file as body of the GitHub release.
|
|
244
|
+
- The logo is `docs/images/sbml2cellml-logo.png`, referenced by its absolute
|
|
245
|
+
URL on `develop` in the README and the release notes; the favicon set
|
|
246
|
+
(`favicon.svg`, also the header logo, `favicon.ico`, `apple-touch-icon.png`)
|
|
247
|
+
is in `docs/images/favicon/`, linked in `overrides/main.html`.
|
|
250
248
|
- `references/` holds the CellML specification and libopencor notes, it is not
|
|
251
249
|
part of the documentation site.
|
|
252
250
|
- Test models built with libcellml live in `tests/cellml_models.py`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: sbml2cellml
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: sbml2cellml converts between SBML and CellML.
|
|
5
5
|
Project-URL: Homepage, https://matthiaskoenig.github.io/sbml2cellml
|
|
6
6
|
Project-URL: Documentation, https://matthiaskoenig.github.io/sbml2cellml
|
|
@@ -53,6 +53,8 @@ Requires-Dist: pandas>=3.0.5; extra == 'testsuite'
|
|
|
53
53
|
Requires-Dist: requests>=2.32; extra == 'testsuite'
|
|
54
54
|
Description-Content-Type: text/markdown
|
|
55
55
|
|
|
56
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
57
|
+
|
|
56
58
|
# sbml2cellml: conversion between SBML and CellML
|
|
57
59
|
[](https://github.com/matthiaskoenig/sbml2cellml/actions/workflows/ci-cd.yml) [](https://matthiaskoenig.github.io/sbml2cellml) [](https://pypi.org/project/sbml2cellml/) [](https://pypi.org/project/sbml2cellml/) [](https://opensource.org/licenses/MIT)
|
|
58
60
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
|
+
|
|
1
3
|
# sbml2cellml: conversion between SBML and CellML
|
|
2
4
|
[](https://github.com/matthiaskoenig/sbml2cellml/actions/workflows/ci-cd.yml) [](https://matthiaskoenig.github.io/sbml2cellml) [](https://pypi.org/project/sbml2cellml/) [](https://pypi.org/project/sbml2cellml/) [](https://opensource.org/licenses/MIT)
|
|
3
5
|
|
|
@@ -27,15 +27,14 @@ A pull request can only be merged once the four required checks are green:
|
|
|
27
27
|
|
|
28
28
|
| check | workflow | content |
|
|
29
29
|
| ------- | ------------- | --------------------------------------------------------------------|
|
|
30
|
-
| `tests` | `ci-cd.yml` | the test matrix,
|
|
30
|
+
| `tests` | `ci-cd.yml` | the test matrix, python 3.14 on linux and macos |
|
|
31
31
|
| `ruff` | `ruff.yml` | `ruff check` and `ruff format --check` |
|
|
32
32
|
| `ty` | `ty.yml` | `tox r -e ty` |
|
|
33
33
|
| `docs` | `docs.yml` | the zensical build including the api reference and the agent files |
|
|
34
34
|
|
|
35
|
-
`tests` aggregates the test matrix into a single job, so the name of the
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
links against libpython.
|
|
35
|
+
`tests` aggregates the test matrix into a single job, so the name of the required check stays the same when the matrix changes. The CI runs the standalone interpreters of uv (`UV_PYTHON_PREFERENCE=only-managed`); on linux it puts their `lib` directory on `LD_LIBRARY_PATH`, because the roadrunner extension links against libpython, which these interpreters ship but never load.
|
|
36
|
+
|
|
37
|
+
Continuous integration is kept small: every workflow cancels its running build when a newer commit of the same branch or pull request arrives, uv caches the packages and the interpreters between runs, dependabot proposes its updates once a month, and the matrix tests only the newest python. Python 3.13 is tested locally, see [Testing](#testing), before a pull request is opened.
|
|
39
38
|
|
|
40
39
|
Further rules of a pull request:
|
|
41
40
|
|
|
@@ -135,7 +134,7 @@ tox run-parallel
|
|
|
135
134
|
|
|
136
135
|
The tox environments are created from `uv.lock` by tox-uv (`runner = uv-venv-lock-runner` in `tox.ini`).
|
|
137
136
|
|
|
138
|
-
This needs the interpreters to be available, which uv installs with `uv python install 3.13 3.14`.
|
|
137
|
+
This needs the interpreters to be available, which uv installs with `uv python install 3.13 3.14`. It is the complete test and is run before a pull request is opened: continuous integration runs only `py3.14`, on linux and macos, as `uvx --with tox-uv tox -e py3.14 -- --durations=15`, which lists the 15 slowest tests so that a test which becomes slow is seen. The tests run in parallel on every core (pytest-xdist, `addopts = "-n auto"`).
|
|
139
138
|
|
|
140
139
|
To run the tests directly against the development environment use
|
|
141
140
|
|
|
@@ -198,6 +197,12 @@ The API reference is rendered from the docstrings by [mkdocstrings](https://mkdo
|
|
|
198
197
|
|
|
199
198
|
Docstrings are therefore the place to document functions and classes, the markdown files provide the narrative around them. Adding a module to the reference means adding such a page and an entry to `nav` in `zensical.toml`.
|
|
200
199
|
|
|
200
|
+
### Logo and favicon
|
|
201
|
+
|
|
202
|
+
The logo is `docs/images/sbml2cellml-logo.png` (512 px, transparent outside of its frame). The README and the release notes are also shown on GitHub and PyPI and reference it by its absolute URL on `develop`; `tests/test_package.py` checks that the README and every release notes page start with it.
|
|
203
|
+
|
|
204
|
+
The favicon is drawn after the logo in `docs/images/favicon/favicon.svg`, which is also the logo in the header of the site. `favicon.ico` (16, 32 and 48 px) and the opaque `apple-touch-icon.png` (180 px, without the frame, which iOS draws itself) are rendered from it. The ICO is the `favicon` of the theme, the SVG and the apple touch icon are linked in `overrides/main.html` (`custom_dir`).
|
|
205
|
+
|
|
201
206
|
### Files for agents { #files-for-agents }
|
|
202
207
|
|
|
203
208
|
Agents and language models read markdown, not rendered html. `scripts/llms_txt.py` writes the files of the [llms.txt convention](https://llmstxt.org/) into the built site, i.e., [llms.txt](https://matthiaskoenig.github.io/sbml2cellml/llms.txt) as an annotated index of all pages, [llms-full.txt](https://matthiaskoenig.github.io/sbml2cellml/llms-full.txt) with the complete documentation in a single file, and the markdown of every page next to its html (`/conversion-issues.md` for `/conversion-issues/`). The markdown of the API reference is generated from the docstrings with `inspect`, since the pages themselves only contain the mkdocstrings directive.
|
|
@@ -253,7 +258,7 @@ A release is made from `develop`. Since `develop` only accepts pull requests,
|
|
|
253
258
|
the release is prepared on a branch and tagged once that pull request is merged:
|
|
254
259
|
|
|
255
260
|
1. branch off `develop`: `git switch -c release/x.y.z develop`
|
|
256
|
-
2. write the release notes for the version in `docs/release-notes/x.y.z.md
|
|
261
|
+
2. write the release notes for the version in `docs/release-notes/x.y.z.md`, with the logo below the heading as in the earlier notes, and add the page to the `Release notes` section of `nav` in `zensical.toml` and to the overview `docs/release-notes/index.md`, newest first. The notes are part of the [documentation](release-notes/index.md) and the body of the GitHub release; `tests/test_package.py` fails when the current version has no notes or a page is missing in the navigation or the overview
|
|
257
262
|
3. make sure everything passes: `tox run-parallel`, `ruff check`, `tox r -e ty`
|
|
258
263
|
4. check the version bump: `uvx bump-my-version bump [major|minor|patch] --dry-run -vv`
|
|
259
264
|
5. bump the version: `uvx bump-my-version bump [major|minor|patch]`, which updates `src/sbml2cellml/__init__.py` and `CITATION.cff` and commits. It does not create the tag; a squash or rebase merge would rewrite the commit and leave the tag behind on a commit which is not part of `develop`
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="frame" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="64" y2="0">
|
|
4
|
+
<stop offset="0.1" stop-color="#0078d9"/>
|
|
5
|
+
<stop offset="0.5" stop-color="#6c5db3"/>
|
|
6
|
+
<stop offset="0.9" stop-color="#e21924"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
<linearGradient id="mark" gradientUnits="userSpaceOnUse" x1="14" y1="0" x2="50" y2="0">
|
|
9
|
+
<stop offset="0" stop-color="#0078d9"/>
|
|
10
|
+
<stop offset="0.5" stop-color="#6c5db3"/>
|
|
11
|
+
<stop offset="1" stop-color="#e21924"/>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
</defs>
|
|
14
|
+
<rect x="2" y="2" width="60" height="60" rx="14" fill="#fff" stroke="url(#frame)" stroke-width="4"/>
|
|
15
|
+
<path d="M 11.09 24.39 A 22.25 22.25 0 0 1 44.68 13.72 L 46.87 10.55 L 50.32 25.33 L 39.35 21.40 L 41.55 18.24 A 16.75 16.75 0 0 0 16.26 26.27 Z" fill="url(#mark)"/>
|
|
16
|
+
<path d="M 52.91 39.61 A 22.25 22.25 0 0 1 19.32 50.28 L 17.13 53.45 L 13.68 38.67 L 24.65 42.60 L 22.45 45.76 A 16.75 16.75 0 0 0 47.74 37.73 Z" fill="url(#mark)"/>
|
|
17
|
+
<path d="M 27 28 A 5.2 5.2 0 1 1 36.4 31.2 L 27 40.5 H 37.6" fill="none" stroke="url(#mark)" stroke-width="4.6" stroke-linejoin="round"/>
|
|
18
|
+
</svg>
|
|
Binary file
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
{ width="150" }
|
|
2
|
+
|
|
1
3
|
# sbml2cellml: conversion between SBML and CellML
|
|
2
4
|
[](https://github.com/matthiaskoenig/sbml2cellml/actions/workflows/ci-cd.yml) [](https://matthiaskoenig.github.io/sbml2cellml) [](https://pypi.org/project/sbml2cellml/) [](https://pypi.org/project/sbml2cellml/) [](https://opensource.org/licenses/MIT)
|
|
3
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.3.0
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
Much wider coverage of SBML in the conversion to CellML. Of the runnable cases of the SBML test suite, 1420 convert to valid CellML (458 in 0.2.0) and 857 simulate with libopencor like the expected results (137 in 0.2.0), see the [SBML test suite](https://matthiaskoenig.github.io/sbml2cellml/testsuite/) page.
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.3.1
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
Documentation release with a graphical overview of the SBML test suite results, together with the conversions added since 0.3.0. Of the 1535 runnable cases of the SBML test suite, 1462 convert to valid CellML (1420 in 0.3.0) and 1010 simulate with libopencor like the expected results (857 in 0.3.0), see the [SBML test suite](https://matthiaskoenig.github.io/sbml2cellml/testsuite/) page.
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.3.2
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
Units are converted in both directions, and the release notes are part of the documentation. The glimepiride example models, which have a complete unit annotation and units on numbers, all convert to valid CellML and simulate with libopencor now.
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.3.3
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
The manually curated models of BioModels are part of the documentation, and a wrong evaluation of initial assignments is fixed. Of the 1060 curated models which run, 1046 convert to valid CellML, 778 simulate with libopencor like the roadrunner simulation of the original model and 920 pass the roundtrip back to SBML, see the [BioModels](https://matthiaskoenig.github.io/sbml2cellml/biomodels/) page.
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.3.4
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
The simulations with CVODE are more robust. Of the 1060 manually curated models of BioModels which run, 908 simulate with libopencor like the roadrunner simulation of the original model (778 in 0.3.3), see the [BioModels](https://matthiaskoenig.github.io/sbml2cellml/biomodels/) page.
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.3.5
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
The reports of the [SBML test suite](https://matthiaskoenig.github.io/sbml2cellml/testsuite/) and of [BioModels](https://matthiaskoenig.github.io/sbml2cellml/biomodels/) show the complete error of every failing case and document the tolerances of the checks. The converters and their results are unchanged.
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.4.0
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
The conversion of SBML to CellML keeps the amount of a species when its compartment changes, handles formulas as the MathML trees of the model instead of text and sets initial assignments which are NaN. 34 more cases of the [SBML test suite](https://matthiaskoenig.github.io/sbml2cellml/testsuite/) and 15 more models of [BioModels](https://matthiaskoenig.github.io/sbml2cellml/biomodels/) simulate in libopencor as in roadrunner, and the documentation has a [roundtrip example](https://matthiaskoenig.github.io/sbml2cellml/roundtrip/).
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.4.1
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
The names, notes, SBO terms, annotations and the model history of an SBML model are converted: they go into an RDF file next to the CellML model and come back in the conversion to SBML ([#44](https://github.com/matthiaskoenig/sbml2cellml/issues/44)). Every reaction is a variable of its rate in the CellML model.
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Release notes for sbml2cellml 0.4.2
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
2
3
|
|
|
3
4
|
libopencor is installed from PyPI with the `simulate` extra ([#54](https://github.com/matthiaskoenig/sbml2cellml/issues/54)).
|
|
4
5
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Release notes for sbml2cellml 0.4.3
|
|
2
|
+
<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">
|
|
3
|
+
|
|
4
|
+
Security release: the locked environment no longer trusts the compromised emSign root CA ([#60](https://github.com/matthiaskoenig/sbml2cellml/pull/60)).
|
|
5
|
+
|
|
6
|
+
## Security
|
|
7
|
+
- certifi 2026.10.19 in `uv.lock` ([GHSA-6q48-6c7w-9gw2](https://github.com/advisories/GHSA-6q48-6c7w-9gw2)): earlier versions of the CA bundle trust the emSign root CA whose intermediate keys were compromised. certifi is no runtime dependency of sbml2cellml, it comes in with requests of the `testsuite` and `dev` extras; an environment of these extras should update certifi to 2026.10.19 or later
|
|
8
|
+
- uv 0.13.4 in `uv.lock` ([GHSA-hq85-5cpj-mr62](https://github.com/advisories/GHSA-hq85-5cpj-mr62)), whose bundled CA store has the same issue; the workflows install the latest uv
|
|
9
|
+
|
|
10
|
+
## Changes
|
|
11
|
+
- the logo above the README, the documentation and every release notes page, and a favicon of the documentation ([#58](https://github.com/matthiaskoenig/sbml2cellml/pull/58))
|
|
12
|
+
- less load of continuous integration: the tests run python 3.14 on linux and macos, python 3.13 is tested locally, a superseded run is cancelled, uv caches the interpreters, dependabot runs monthly, the 15 slowest tests are listed ([#59](https://github.com/matthiaskoenig/sbml2cellml/pull/59))
|
|
13
|
+
- the workflows use the interpreters of uv without the python dev files of the deadsnakes ppa ([#59](https://github.com/matthiaskoenig/sbml2cellml/pull/59), [#60](https://github.com/matthiaskoenig/sbml2cellml/pull/60)), and `astral-sh/setup-uv` 10.2.0 ([#57](https://github.com/matthiaskoenig/sbml2cellml/pull/57))
|
|
14
|
+
- the context manager which takes the rate rules out of a model is annotated as a `Generator`, as ty 0.0.90 requires
|
|
15
|
+
|
|
16
|
+
## Limitations
|
|
17
|
+
- the unit check of the libcellml 0.7.1 analyser warns about consistent equations with units which have a multiplier and an exponent, e.g., per minute ([cellml/libcellml#1463](https://github.com/cellml/libcellml/issues/1463)); the warnings do not make a model invalid
|
|
18
|
+
- events, the delay symbol and coupled algebraic rules are not converted
|
|
19
|
+
- Windows is not supported, the Windows wheels of libcellml 0.7.1 contain ARM64 binaries
|
|
20
|
+
- see the conversion issues in the documentation
|
|
21
|
+
|
|
22
|
+
Your sbml2cellml team
|
|
@@ -4,6 +4,7 @@ The releases of `sbml2cellml`, newest first. Every release is available from [py
|
|
|
4
4
|
|
|
5
5
|
| version | date | content |
|
|
6
6
|
| --- | --- | --- |
|
|
7
|
+
| [0.4.3](0.4.3.md) | 2026-10-22 | certifi 2026.10.19 and uv 0.13.4 in the lock (GHSA-6q48-6c7w-9gw2, GHSA-hq85-5cpj-mr62), logo and favicon |
|
|
7
8
|
| [0.4.2](0.4.2.md) | 2026-09-28 | libopencor from PyPI in the `simulate` extra |
|
|
8
9
|
| [0.4.1](0.4.1.md) | 2026-09-19 | names, notes and annotations as RDF next to the CellML model and back, every reaction a variable of its rate |
|
|
9
10
|
| [0.4.0](0.4.0.md) | 2026-09-19 | amounts in changing compartments, formulas as ASTs, NaN initial assignments, roundtrip example, libsbml 5.21.2 |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{#
|
|
4
|
+
The favicon of the theme is the ICO (16, 32 and 48 px) for browsers without
|
|
5
|
+
SVG favicons. The SVG follows it, so that browsers which support it take
|
|
6
|
+
the vector icon, and iOS takes the opaque apple touch icon.
|
|
7
|
+
#}
|
|
8
|
+
{% block extrahead %}
|
|
9
|
+
<link rel="icon" href="{{ 'images/favicon/favicon.svg' | url }}" type="image/svg+xml">
|
|
10
|
+
<link rel="apple-touch-icon" href="{{ 'images/favicon/apple-touch-icon.png' | url }}">
|
|
11
|
+
{% endblock %}
|
|
@@ -28,7 +28,7 @@ Not supported yet (logged as warning, see docs/conversion-issues.md): events.
|
|
|
28
28
|
|
|
29
29
|
import logging
|
|
30
30
|
import math
|
|
31
|
-
from collections.abc import Callable,
|
|
31
|
+
from collections.abc import Callable, Generator
|
|
32
32
|
from contextlib import contextmanager
|
|
33
33
|
from dataclasses import dataclass
|
|
34
34
|
from pathlib import Path
|
|
@@ -400,7 +400,7 @@ def _is_known(
|
|
|
400
400
|
|
|
401
401
|
|
|
402
402
|
@contextmanager
|
|
403
|
-
def _without_rate_rules(doc: libsbml.SBMLDocument) ->
|
|
403
|
+
def _without_rate_rules(doc: libsbml.SBMLDocument) -> Generator[None]:
|
|
404
404
|
"""Take the rate rules out of the model while libsbml evaluates formulas.
|
|
405
405
|
|
|
406
406
|
libsbml evaluates a variable without a value yet (it has an initial
|
|
@@ -10,6 +10,12 @@ from sbml2cellml import log
|
|
|
10
10
|
from tests.conftest import GLIMEPIRIDE_MODELS, MODELS_DIR, TEST_MODEL_PATH
|
|
11
11
|
|
|
12
12
|
ROOT = Path(__file__).parent.parent
|
|
13
|
+
# the README and the release notes are also shown on GitHub and PyPI, so the
|
|
14
|
+
# logo is referenced by its absolute URL
|
|
15
|
+
LOGO = (
|
|
16
|
+
'<img alt="sbml2cellml logo" src="https://raw.githubusercontent.com/'
|
|
17
|
+
'matthiaskoenig/sbml2cellml/develop/docs/images/sbml2cellml-logo.png" width="150">'
|
|
18
|
+
)
|
|
13
19
|
|
|
14
20
|
|
|
15
21
|
def test_version_is_consistent() -> None:
|
|
@@ -40,6 +46,17 @@ def test_release_notes_are_in_the_documentation() -> None:
|
|
|
40
46
|
assert f"| [{version}]({version}.md) |" in overview, version
|
|
41
47
|
|
|
42
48
|
|
|
49
|
+
def test_logo_is_in_the_readme_and_the_release_notes() -> None:
|
|
50
|
+
"""The README and the notes of every release start with the logo."""
|
|
51
|
+
assert (ROOT / "docs" / "images" / "sbml2cellml-logo.png").is_file()
|
|
52
|
+
assert (ROOT / "README.md").read_text().startswith(f"{LOGO}\n")
|
|
53
|
+
for path in (ROOT / "docs" / "release-notes").glob("*.md"):
|
|
54
|
+
if path.stem != "index":
|
|
55
|
+
heading, logo = path.read_text().splitlines()[:2]
|
|
56
|
+
assert heading == f"# Release notes for sbml2cellml {path.stem}", path
|
|
57
|
+
assert logo == LOGO, path
|
|
58
|
+
|
|
59
|
+
|
|
43
60
|
def test_models_exist() -> None:
|
|
44
61
|
assert TEST_MODEL_PATH.is_file()
|
|
45
62
|
for name in GLIMEPIRIDE_MODELS:
|