sbmlutils 0.17.0__tar.gz → 0.17.2__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.
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/CITATION.cff +2 -2
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/PKG-INFO +9 -7
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/README.md +4 -4
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/lowest-overrides.txt +1 -1
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/pyproject.toml +11 -3
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/__init__.py +1 -1
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/comp/flatten.py +53 -7
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/validation.py +20 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/comp/test_flatten.py +97 -1
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_validation.py +75 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/.gitignore +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/LICENSE +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/conftest.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/README.md +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/algebraic_rule.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/annotation.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/annotation_validation.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/assignment.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/combine_archive/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/combine_archive/omex_models.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/compartment_species_reaction.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/converters/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/converters/xpp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/dallaman.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/dallaman_meal_normal.txt +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/data/DallaMan2006_Fig1_egp.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/data/DallaMan2006_Fig1_glc.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/data/DallaMan2006_Fig1_gra.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/data/DallaMan2006_Fig1_gu.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/data/DallaMan2006_Fig1_ins.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/data/DallaMan2006_Fig1_inssec.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/dallaman/data/Dallaman_data.xlsx +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/demo/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/demo/demo.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/demo/demo_annotations.xlsx +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/demo/demo_annotations.xlsx.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/distrib/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/distrib/distrib_comp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/distrib/distrib_distributions.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/distrib/distrib_packages_examples.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/distrib/distrib_uncertainties.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/distrib/distrib_uncertainty.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/fbc/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/fbc/fbc_key_value_pair.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/fbc/fbc_mass_charge.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/fbc/fbc_userdefinedconstraints.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/fbc/fbc_v2.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/fbc/fbc_v3.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/fbc/fbc_version3.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/fbc/fbc_version3.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/icg/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/icg/annotations.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/icg/factory.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/icg/model_body.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/icg/model_liver.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/icg/templates.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/interpolation/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/interpolation/atp_adp_mean.tsv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/interpolation/atp_adp_normalized.tsv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/interpolation/driving.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/interpolation/glucose_timecourse.tsv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/interpolation/interpolation.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/interpolation/pancreas.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/merge_models/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/merge_models/merge_models.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/model.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/model_definitions.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/multiple_substance_units.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/notes.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/parameter.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/reaction.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/reaction_with_units.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/registry.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/species.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/templates.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tiny/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tiny/annotations.xlsx +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tiny/annotations.xlsx.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tiny/simulation.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tiny/tiny.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/linear_chain.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/minimal_model.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/minimal_model_annotations.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/minimal_model_annotations.xlsx +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/minimal_model_comp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/model_antimony.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/model_composition.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/tutorial/random_network.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/unit_definitions.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/examples/units_namespace.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/scripts/llms_txt.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/scripts/package_report.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/scripts/performance_report.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/scripts/roundtrip_report.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/_antimony.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/biomodels.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/comp/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/comp/comp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/console.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/converters/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/converters/copasi.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/converters/ode/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/converters/xpp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/converters/xpp_helpers.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/cytoscape.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/data/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/data/_driving.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/data/interpolation.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/distrib/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/factory/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/factory/_core.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/factory/comp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/factory/core_elements.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/factory/distrib.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/factory/fbc.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/factory/model.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/factory/units.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/fbc/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/fbc/cobra.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/fbc/fbc.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/io/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/io/antimony.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/io/files.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/io/sbml.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/layout/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/layout/layout.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/log.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/manipulation/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/manipulation/merge.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/metadata/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/metadata/annotator.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/metadata/miriam.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/metadata/validator.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/notes.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/parser.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/py.typed +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/reaction_equation.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/report/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/report/mathml.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/report/sbmlinfo.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/report/sbmlreport.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/report/units.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/__init__.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/distrib/distrib_all.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/distrib/distrib_normal.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/distrib/e_coli_core.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/distrib/e_coli_core_expression.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/distrib/uncertainty.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/algebraic_rule.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/annotation.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/antimony_repressilator.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/assignment.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/compartment_species_reaction.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/distrib_comp.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/distrib_comp_flat.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/distrib_distributions.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/distrib_uncertainties.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/fbc/fbc_key_value_pair.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/fbc_example.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/fbc_mass_charge.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/fbc_user_defined_constraints.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/fbc_v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/linear_chain.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/minimal_model.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/minimal_model_annotations.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/minimal_model_comp.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/minimal_model_comp_flat.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/model.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/model_composition.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/model_definitions.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/multiple_substance_units.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/notes.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/parameter.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/random_network.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/reaction.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/reaction_with_units.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/species.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/unit_definitions.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/examples/units_namespace.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/github.css +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/atp_adp_mean.tsv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/atp_adp_normalized.tsv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/data1.tsv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/data1_constant.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/data1_cubic.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/data1_linear.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/sbml_interpolation_2_1.png +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/sbml_interpolation_6_0.png +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/sbml_interpolation_6_1.png +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/interpolation/sbml_interpolation_6_2.png +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/BIOMD0000000507_urn.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/README.md +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/basic/basic_7.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/cyp2d6.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/dex_body.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/dex_body_flat.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/dex_intestine.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/dex_kidney.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/dex_liver.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/icg_body.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/icg_body_flat.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/icg_liver.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/spt_body.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/spt_body_flat.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/spt_intestine.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/spt_kidney.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/comp/spt_liver.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/demo/Koenig_demo_v15.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/demo/Koenig_demo_v15_no_annotations.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/demo/demo_annotations.xlsx +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/dfba/diauxic_bounds.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/dfba/diauxic_fba.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/dfba/diauxic_top.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/dfba/diauxic_update.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00040-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00040-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00041-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00041-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00042-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00042-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00043-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00043-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00044-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00044-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00045-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00045-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00046-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00046-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00047-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00047-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00049-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00049-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00050-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00050-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00051-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00051-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00052-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00052-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00055-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00055-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00056-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00056-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00065-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00065-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00069-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00069-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00070-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00070-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00071-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00071-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00072-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00072-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00073-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00073-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00074-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00074-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00075-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00075-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00076-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00076-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00077-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00077-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00078-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00078-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00079-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00079-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00080-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00080-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00081-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00081-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00082-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00082-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00083-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00083-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00084-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00084-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00085-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00085-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00086-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00086-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00087-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00087-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00088-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00088-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00089-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00089-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00090-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00090-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00091-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00091-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00092-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00092-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00093-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00093-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00094-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00094-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00095-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00095-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00096-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00096-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00097-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00097-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00098-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00098-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00099-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00099-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00100-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00100-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00101-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00101-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00102-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00102-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00103-sbml-l3v1.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/distrib/testsuite/00103-sbml-l3v2.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/fbc/Recon3D.xml.gz +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/fbc/diauxic_fba.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/fbc/e_coli_core.xml.gz +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/galactose/Galactose_v128_Nc20_dilution.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/galactose/galactose_30.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/galactose/galactose_30_no_annotations.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/galactose/galactose_annotations.xlsx +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/galactose/galactose_annotations.xlsx.csv +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/glucose/Hepatic_glucose_3.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/iAT_PLT_636.xml.gz +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/interpolation/data1_constant.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/interpolation/data1_cubic.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/interpolation/data1_linear.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/qual/Faure2006_MammalianCellCycle.sbml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/repressilator/BIOMD0000000012_urn.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/models/van_der_pol/van_der_pol.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/templates/index.html +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/templates/macros_sbml.html +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/templates/report.html +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/templates/report_base.html +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/templates/report_no_model.html +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/templates/test.html +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/annotation/annotations.xlsx +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/manipulation/merge/BIOMD0000000001.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/manipulation/merge/BIOMD0000000002.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/manipulation/merge/BIOMD0000000003.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/manipulation/merge/BIOMD0000000004.xml +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/omex/CombineArchiveShowCase.omex +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/omex/CompModels.omex +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/omex/icg_model.omex +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/omex/omeprazole_model.omex +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/xpp/112836_HH-ext.ode +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/xpp/PLoSCompBiol_Fig1.ode +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/testdata/xpp/SkM_AP_KCa.ode +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/ctopff.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/pmml2tex/csscolor.sty +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/pmml2tex/mml2tex.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/pmml2tex/pmml-new.sty +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/pmml2tex/pmml2tex.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/pmml2tex/pmml2texfrag.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/pmml2tex/run +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/xsltml/README +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/xsltml/cmarkup.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/xsltml/entities.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/xsltml/glayout.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/xsltml/mmltex.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/xsltml/scripts.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/xsltml/tables.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/resources/xslt/xsltml/tokens.xsl +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/src/sbmlutils/utils.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/conftest.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/converters/test_copasi.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/converters/test_ode_reexport.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/converters/test_xpp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/examples/test_demo.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/examples/test_example_scripts.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/examples/test_examples.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/examples/test_galactose.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/fbc/test_cobra.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/fbc/test_fbc.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/interpolation/interpolation_models.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/interpolation/test_assignment_rules.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/interpolation/test_drive.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/interpolation/test_drive_comp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/interpolation/test_interpolation.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/interpolation/test_interpolation_docs.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/io/test_antimony.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/io/test_files.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/io/test_sbml.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/manipulation/test_merge.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/metadata/test_annotator.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/paths.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/report/test_mathml.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/report/test_sbmlinfo.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/structural.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_biomodels.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_comp.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_construction_diagnostics.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_cytoscape.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_distrib.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_factory.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_factory_facade.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_history.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_llms_txt.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_log.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_model.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_model_creator.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_model_merge.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_notes.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_package_roundtrip.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_package_semantics.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_parser.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_preservation_diagnostics.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_reaction_equation.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_resources.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_roundtrip.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_sbmlreport.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_udef_to_str.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tests/test_utils.py +0 -0
- {sbmlutils-0.17.0 → sbmlutils-0.17.2}/tox.ini +0 -0
|
@@ -8,8 +8,8 @@ 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.17.
|
|
12
|
-
date-released: "2026-
|
|
11
|
+
version: "0.17.2"
|
|
12
|
+
date-released: "2026-11-01"
|
|
13
13
|
doi: "10.5281/zenodo.597149"
|
|
14
14
|
license: MIT
|
|
15
15
|
repository-code: "https://github.com/matthiaskoenig/sbmlutils"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: sbmlutils
|
|
3
|
-
Version: 0.17.
|
|
3
|
+
Version: 0.17.2
|
|
4
4
|
Summary: sbmlutils are python utilities for working with SBML.
|
|
5
5
|
Project-URL: Homepage, https://matthiaskoenig.github.io/sbmlutils
|
|
6
6
|
Project-URL: Documentation, https://matthiaskoenig.github.io/sbmlutils
|
|
@@ -37,7 +37,7 @@ Requires-Dist: pandas>=2.2.2
|
|
|
37
37
|
Requires-Dist: pint>=0.25.3
|
|
38
38
|
Requires-Dist: pymetadata>=0.8.0
|
|
39
39
|
Requires-Dist: python-libsbml>=5.21.2
|
|
40
|
-
Requires-Dist: requests>=2.
|
|
40
|
+
Requires-Dist: requests>=2.33.0
|
|
41
41
|
Requires-Dist: rich>=13.0.0
|
|
42
42
|
Requires-Dist: sbmlode>=0.2.0
|
|
43
43
|
Requires-Dist: xmltodict>=1.0.2
|
|
@@ -50,18 +50,20 @@ Requires-Dist: bump-my-version>=1.5.1; extra == 'dev'
|
|
|
50
50
|
Requires-Dist: libroadrunner>=2.10.0; extra == 'dev'
|
|
51
51
|
Requires-Dist: matplotlib>=3.11.1; extra == 'dev'
|
|
52
52
|
Requires-Dist: mkdocstrings-python>=2.0.8; extra == 'dev'
|
|
53
|
+
Requires-Dist: pillow>=13.0.0; extra == 'dev'
|
|
53
54
|
Requires-Dist: pre-commit>=4.6.2; extra == 'dev'
|
|
54
55
|
Requires-Dist: py4cytoscape>=1.13.0; extra == 'dev'
|
|
55
56
|
Requires-Dist: pytest-cov>=7.1.0; extra == 'dev'
|
|
56
57
|
Requires-Dist: pytest-xdist>=3.8.0; extra == 'dev'
|
|
57
58
|
Requires-Dist: pytest>=9.1.1; extra == 'dev'
|
|
58
59
|
Requires-Dist: ruff>=0.16.6; extra == 'dev'
|
|
59
|
-
Requires-Dist: tox
|
|
60
|
+
Requires-Dist: tox!=4.67.5,>=4.61.2; extra == 'dev'
|
|
60
61
|
Requires-Dist: ty>=0.0.79; extra == 'dev'
|
|
61
62
|
Requires-Dist: zensical>=0.0.60; extra == 'dev'
|
|
62
63
|
Provides-Extra: examples
|
|
63
64
|
Requires-Dist: libroadrunner>=2.10.0; extra == 'examples'
|
|
64
65
|
Requires-Dist: matplotlib>=3.11.1; extra == 'examples'
|
|
66
|
+
Requires-Dist: pillow>=13.0.0; extra == 'examples'
|
|
65
67
|
Description-Content-Type: text/markdown
|
|
66
68
|
|
|
67
69
|

|
|
@@ -96,7 +98,7 @@ If you have any questions or issues please [open an issue](https://github.com/ma
|
|
|
96
98
|
|
|
97
99
|
If you use `sbmlutils` please cite the archived software on [Zenodo](https://doi.org/10.5281/zenodo.597149):
|
|
98
100
|
|
|
99
|
-
> König, M. (2026). *sbmlutils: Python utilities for SBML* (Version 0.
|
|
101
|
+
> König, M. (2026). *sbmlutils: Python utilities for SBML* (Version 0.17.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23870568
|
|
100
102
|
|
|
101
103
|
```bibtex
|
|
102
104
|
@software{konig_sbmlutils,
|
|
@@ -104,10 +106,10 @@ If you use `sbmlutils` please cite the archived software on [Zenodo](https://doi
|
|
|
104
106
|
title = {sbmlutils: Python utilities for SBML},
|
|
105
107
|
year = {2026},
|
|
106
108
|
month = oct,
|
|
107
|
-
version = {0.
|
|
109
|
+
version = {0.17.1},
|
|
108
110
|
publisher = {Zenodo},
|
|
109
|
-
doi = {10.5281/zenodo.
|
|
110
|
-
url = {https://doi.org/10.5281/zenodo.
|
|
111
|
+
doi = {10.5281/zenodo.23870568},
|
|
112
|
+
url = {https://doi.org/10.5281/zenodo.23870568},
|
|
111
113
|
}
|
|
112
114
|
```
|
|
113
115
|
|
|
@@ -30,7 +30,7 @@ If you have any questions or issues please [open an issue](https://github.com/ma
|
|
|
30
30
|
|
|
31
31
|
If you use `sbmlutils` please cite the archived software on [Zenodo](https://doi.org/10.5281/zenodo.597149):
|
|
32
32
|
|
|
33
|
-
> König, M. (2026). *sbmlutils: Python utilities for SBML* (Version 0.
|
|
33
|
+
> König, M. (2026). *sbmlutils: Python utilities for SBML* (Version 0.17.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23870568
|
|
34
34
|
|
|
35
35
|
```bibtex
|
|
36
36
|
@software{konig_sbmlutils,
|
|
@@ -38,10 +38,10 @@ If you use `sbmlutils` please cite the archived software on [Zenodo](https://doi
|
|
|
38
38
|
title = {sbmlutils: Python utilities for SBML},
|
|
39
39
|
year = {2026},
|
|
40
40
|
month = oct,
|
|
41
|
-
version = {0.
|
|
41
|
+
version = {0.17.1},
|
|
42
42
|
publisher = {Zenodo},
|
|
43
|
-
doi = {10.5281/zenodo.
|
|
44
|
-
url = {https://doi.org/10.5281/zenodo.
|
|
43
|
+
doi = {10.5281/zenodo.23870568},
|
|
44
|
+
url = {https://doi.org/10.5281/zenodo.23870568},
|
|
45
45
|
}
|
|
46
46
|
```
|
|
47
47
|
|
|
@@ -51,7 +51,8 @@ dependencies = [
|
|
|
51
51
|
"xmltodict>=1.0.2",
|
|
52
52
|
# annotation spreadsheets, visualization
|
|
53
53
|
"openpyxl>=3.1.5",
|
|
54
|
-
|
|
54
|
+
# the predictable temporary file of extract_zipped_paths (GHSA-gc5v-m9x4-r6x2)
|
|
55
|
+
"requests>=2.33.0",
|
|
55
56
|
# the CA bundle of requests, without the distrusted emSign root (GHSA-6q48-6c7w-9gw2)
|
|
56
57
|
"certifi>=2026.10.19",
|
|
57
58
|
# the ODE export, re-exported as `sbmlutils.converters.ode`
|
|
@@ -64,14 +65,21 @@ cobra = ["cobra>=0.32.1"]
|
|
|
64
65
|
# visualization of a model in a running Cytoscape, see `sbmlutils.cytoscape`
|
|
65
66
|
cytoscape = ["py4cytoscape>=1.13.0"]
|
|
66
67
|
# simulation and plotting; the package itself does neither, the examples do
|
|
67
|
-
examples = [
|
|
68
|
+
examples = [
|
|
69
|
+
"libroadrunner>=2.10.0",
|
|
70
|
+
"matplotlib>=3.11.1",
|
|
71
|
+
# the images of matplotlib, pillow 13.0.0 fixes the advisories of 12.3.0 (GHSA-332p-7hrc-92wf, GHSA-8g5g-8vmr-9782, GHSA-v9pv-5gc8-w2m6, GHSA-w889-685w-c8fh and others)
|
|
72
|
+
"pillow>=13.0.0",
|
|
73
|
+
]
|
|
68
74
|
dev = [
|
|
69
75
|
"sbmlutils[cytoscape,examples]",
|
|
70
76
|
"bump-my-version>=1.5.1",
|
|
71
77
|
"ruff>=0.16.6",
|
|
72
78
|
"pre-commit>=4.6.2",
|
|
73
79
|
"ty>=0.0.79",
|
|
74
|
-
|
|
80
|
+
# 4.67.5 refuses its package staging directory when it was created under
|
|
81
|
+
# umask 002, tox-dev/tox#4357
|
|
82
|
+
"tox>=4.61.2,!=4.67.5",
|
|
75
83
|
"pytest>=9.1.1",
|
|
76
84
|
"pytest-cov>=7.1.0",
|
|
77
85
|
"pytest-xdist>=3.8.0",
|
|
@@ -13,7 +13,10 @@ logger = logging.getLogger(__name__)
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
def flatten_sbml(
|
|
16
|
-
sbml_path: Path | str,
|
|
16
|
+
sbml_path: Path | str,
|
|
17
|
+
sbml_flat_path: Path | str,
|
|
18
|
+
leave_ports: bool = True,
|
|
19
|
+
validate: bool = False,
|
|
17
20
|
) -> libsbml.SBMLDocument:
|
|
18
21
|
"""Flatten given SBML file.
|
|
19
22
|
|
|
@@ -32,6 +35,8 @@ def flatten_sbml(
|
|
|
32
35
|
:param sbml_path: input path to SBML file to flatten (should be a comp model)
|
|
33
36
|
:param sbml_flat_path: output path for flat SBML
|
|
34
37
|
:param leave_ports: boolean flag to leave ports in flattened model.
|
|
38
|
+
:param validate: validate the comp model before flattening it, see
|
|
39
|
+
`flatten_sbml_doc`
|
|
35
40
|
|
|
36
41
|
:return: flattened SBMLDocument
|
|
37
42
|
|
|
@@ -40,7 +45,10 @@ def flatten_sbml(
|
|
|
40
45
|
"""
|
|
41
46
|
doc = read_sbml(source=Path(sbml_path))
|
|
42
47
|
return flatten_sbml_doc(
|
|
43
|
-
doc,
|
|
48
|
+
doc,
|
|
49
|
+
leave_ports=leave_ports,
|
|
50
|
+
sbml_flat_path=Path(sbml_flat_path),
|
|
51
|
+
validate=validate,
|
|
44
52
|
)
|
|
45
53
|
|
|
46
54
|
|
|
@@ -48,16 +56,33 @@ def flatten_sbml_doc(
|
|
|
48
56
|
doc: libsbml.SBMLDocument,
|
|
49
57
|
sbml_flat_path: Path | None = None,
|
|
50
58
|
leave_ports: bool = True,
|
|
59
|
+
validate: bool = False,
|
|
51
60
|
) -> libsbml.SBMLDocument:
|
|
52
61
|
"""Flatten SBMLDocument.
|
|
53
62
|
|
|
54
|
-
|
|
55
|
-
of the
|
|
63
|
+
The document is flattened in place. The comp model is not validated by
|
|
64
|
+
default: the validation is the full consistency check of the document and
|
|
65
|
+
most of the time of the flattening, and a model is usually validated when
|
|
66
|
+
it is written (`create_model`). Validate an unvalidated comp model first or
|
|
67
|
+
pass `validate=True`: without the validation an invalid comp model can be
|
|
68
|
+
flattened into a wrong flat model which is itself valid, e.g. a replacement
|
|
69
|
+
of a species by a parameter drops the species, a duplicate id in a model
|
|
70
|
+
definition keeps one of the two elements, and a conversion factor with an
|
|
71
|
+
unknown id is dropped.
|
|
72
|
+
|
|
73
|
+
A document with errors from reading it is not flattened. A submodel, an
|
|
74
|
+
external model definition or a replaced element which cannot be resolved
|
|
75
|
+
fails the flattening either way; without the validation libsbml finds such
|
|
76
|
+
a reference during the conversion, so the document is then left partly
|
|
77
|
+
flattened.
|
|
78
|
+
|
|
56
79
|
If an output path is provided the file is written to the output path.
|
|
57
80
|
|
|
58
81
|
:param doc: SBMLDocument to flatten.
|
|
59
82
|
:param sbml_flat_path: Path to write flattended SBMLDocument to
|
|
60
83
|
:param leave_ports: flag to leave ports
|
|
84
|
+
:param validate: validate the comp model before flattening it, so that an
|
|
85
|
+
invalid model is not flattened and the document is left as it is
|
|
61
86
|
|
|
62
87
|
:return: SBMLDocument
|
|
63
88
|
|
|
@@ -70,20 +95,28 @@ def flatten_sbml_doc(
|
|
|
70
95
|
"model definitions has no model to flatten them into."
|
|
71
96
|
)
|
|
72
97
|
# a file which could not be read or opened has no model and is rejected
|
|
73
|
-
# above, so an error here comes from the content of the document
|
|
74
|
-
|
|
98
|
+
# above, so an error here comes from the content of the document; the
|
|
99
|
+
# converter flattens such a document when it does not validate it
|
|
100
|
+
if _num_errors(doc) > 0:
|
|
75
101
|
logger.error("SBML errors in doc, see SBMLDocument error log.")
|
|
102
|
+
log_sbml_errors_for_doc(doc)
|
|
103
|
+
raise ValueError("SBML could not be flattend due to errors.")
|
|
76
104
|
|
|
77
105
|
# converter options
|
|
78
106
|
props = libsbml.ConversionProperties()
|
|
79
107
|
props.addOption("flatten comp", True) # Invokes CompFlatteningConverter
|
|
80
108
|
props.addOption("leave_ports", leave_ports) # Indicates whether to leave ports
|
|
81
109
|
props.addOption("abortIfUnflattenable", "none")
|
|
110
|
+
props.addOption("performValidation", validate)
|
|
82
111
|
|
|
83
112
|
# flatten
|
|
84
113
|
current = time.perf_counter()
|
|
85
114
|
result = doc.convert(props)
|
|
86
|
-
|
|
115
|
+
# the converter reports a replaced element it cannot resolve in the error
|
|
116
|
+
# log and still returns success
|
|
117
|
+
flattened_status = (
|
|
118
|
+
result == libsbml.LIBSBML_OPERATION_SUCCESS and _num_errors(doc) == 0
|
|
119
|
+
)
|
|
87
120
|
|
|
88
121
|
lines = [
|
|
89
122
|
str(doc),
|
|
@@ -104,3 +137,16 @@ def flatten_sbml_doc(
|
|
|
104
137
|
logger.info("Flattened model created: '%s'", sbml_flat_path)
|
|
105
138
|
|
|
106
139
|
return doc
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
def _num_errors(doc: libsbml.SBMLDocument) -> int:
|
|
143
|
+
"""Count the errors and fatal errors in the error log of a document.
|
|
144
|
+
|
|
145
|
+
:param doc: SBMLDocument whose error log is counted
|
|
146
|
+
|
|
147
|
+
:return: number of entries with the severity error or fatal
|
|
148
|
+
"""
|
|
149
|
+
log: libsbml.SBMLErrorLog = doc.getErrorLog()
|
|
150
|
+
return log.getNumFailsWithSeverity(
|
|
151
|
+
libsbml.LIBSBML_SEV_ERROR
|
|
152
|
+
) + log.getNumFailsWithSeverity(libsbml.LIBSBML_SEV_FATAL)
|
|
@@ -312,6 +312,13 @@ class ValidationOptions:
|
|
|
312
312
|
|
|
313
313
|
* `internal_consistency`: Additional checks that model is consistent XML.
|
|
314
314
|
|
|
315
|
+
* `comp_flat_model`: Flatten a comp document and check the flat model as
|
|
316
|
+
well, as libsbml's validation of the comp package does by default. A
|
|
317
|
+
flat model which is not valid is reported as `CompFlatModelNotValid`
|
|
318
|
+
followed by its errors. Turn it off when the flat model is validated
|
|
319
|
+
separately, e.g. after `flatten_sbml`; it has no effect on a document
|
|
320
|
+
without comp.
|
|
321
|
+
|
|
315
322
|
* `log_errors` Boolean flag to log errors.
|
|
316
323
|
"""
|
|
317
324
|
|
|
@@ -325,6 +332,7 @@ class ValidationOptions:
|
|
|
325
332
|
sbo_consistency: bool = True
|
|
326
333
|
overdetermined_model: bool = True
|
|
327
334
|
modeling_practice: bool = True
|
|
335
|
+
comp_flat_model: bool = True
|
|
328
336
|
|
|
329
337
|
@classmethod
|
|
330
338
|
def fast(cls, *, log_errors: bool = True) -> "ValidationOptions":
|
|
@@ -622,6 +630,14 @@ def validate_doc(
|
|
|
622
630
|
libsbml.LIBSBML_CAT_MODELING_PRACTICE, options.modeling_practice
|
|
623
631
|
)
|
|
624
632
|
|
|
633
|
+
# libsbml copies the setting into the documents it validates on the way,
|
|
634
|
+
# the copies of the model definitions and the flat model
|
|
635
|
+
comp_doc: libsbml.CompSBMLDocumentPlugin | None = doc.getPlugin("comp")
|
|
636
|
+
override_flattening = None
|
|
637
|
+
if comp_doc is not None:
|
|
638
|
+
override_flattening = comp_doc.getOverrideCompFlattening()
|
|
639
|
+
comp_doc.setOverrideCompFlattening(not options.comp_flat_model)
|
|
640
|
+
|
|
625
641
|
# time
|
|
626
642
|
current = time.perf_counter()
|
|
627
643
|
|
|
@@ -642,6 +658,8 @@ def validate_doc(
|
|
|
642
658
|
doc.getErrorLog().clearLog()
|
|
643
659
|
for i in range(saved_log.getNumErrors()):
|
|
644
660
|
doc.getErrorLog().add(saved_log.getError(i))
|
|
661
|
+
if comp_doc is not None:
|
|
662
|
+
comp_doc.setOverrideCompFlattening(override_flattening)
|
|
645
663
|
|
|
646
664
|
# sum up
|
|
647
665
|
vresults = ValidationResult.from_results(
|
|
@@ -662,6 +680,8 @@ def validate_doc(
|
|
|
662
680
|
f"{' sbo':<25}: {options.sbo_consistency}",
|
|
663
681
|
f"{' units':<25}: {options.units_consistency}",
|
|
664
682
|
]
|
|
683
|
+
if comp_doc is not None:
|
|
684
|
+
lines.append(f"{' comp flat model':<25}: {options.comp_flat_model}")
|
|
665
685
|
lines += [
|
|
666
686
|
f"{'check time (s)':<25}: {time.perf_counter() - current:.3f}",
|
|
667
687
|
]
|
|
@@ -10,7 +10,7 @@ from paths import NON_ASCII_DIR, NON_ASCII_DIR_WITH_EXTERNALS, SPACE_DIR
|
|
|
10
10
|
|
|
11
11
|
from sbmlutils.comp import flatten_sbml, flatten_sbml_doc
|
|
12
12
|
from sbmlutils.io import read_sbml
|
|
13
|
-
from sbmlutils.resources import COMP_ICG_BODY, COMP_ICG_LIVER
|
|
13
|
+
from sbmlutils.resources import COMP_DEX_BODY, COMP_ICG_BODY, COMP_ICG_LIVER
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
def write_icg_body(model_dir: Path, liver_dir: str = "") -> Path:
|
|
@@ -186,3 +186,99 @@ def test_flatten_sbml_doc_reports_errors_of_the_document(
|
|
|
186
186
|
|
|
187
187
|
assert "SBML errors in doc, see SBMLDocument error log." in caplog.messages
|
|
188
188
|
assert any("unknown" in message for message in caplog.messages)
|
|
189
|
+
assert doc.isPackageEnabled("comp")
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
#: the opening `<sbml>` of a comp document, L3V2
|
|
193
|
+
_SBML_COMP_HEADER = (
|
|
194
|
+
'<?xml version="1.0" encoding="UTF-8"?>'
|
|
195
|
+
'<sbml xmlns="http://www.sbml.org/sbml/level3/version2/core" '
|
|
196
|
+
'xmlns:comp="http://www.sbml.org/sbml/level3/version1/comp/version1" '
|
|
197
|
+
'level="3" version="2" comp:required="true">'
|
|
198
|
+
)
|
|
199
|
+
|
|
200
|
+
#: a comp model whose flattening is well defined, but whose math names an id
|
|
201
|
+
#: which is not defined, so the model is invalid
|
|
202
|
+
_SBML_COMP_UNDEFINED_ID = (
|
|
203
|
+
_SBML_COMP_HEADER + '<model id="top"><listOfParameters>'
|
|
204
|
+
'<parameter id="p" constant="false"/>'
|
|
205
|
+
"</listOfParameters><listOfRules>"
|
|
206
|
+
'<assignmentRule variable="p">'
|
|
207
|
+
'<math xmlns="http://www.w3.org/1998/Math/MathML"><ci>undefined</ci></math>'
|
|
208
|
+
"</assignmentRule></listOfRules>"
|
|
209
|
+
'<comp:listOfSubmodels><comp:submodel comp:id="sub" comp:modelRef="md"/>'
|
|
210
|
+
"</comp:listOfSubmodels></model>"
|
|
211
|
+
"<comp:listOfModelDefinitions>"
|
|
212
|
+
'<comp:modelDefinition id="md"><listOfParameters>'
|
|
213
|
+
'<parameter id="k" value="1" constant="true"/>'
|
|
214
|
+
"</listOfParameters></comp:modelDefinition>"
|
|
215
|
+
"</comp:listOfModelDefinitions></sbml>"
|
|
216
|
+
)
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
@pytest.mark.parametrize("model", [COMP_ICG_BODY, COMP_DEX_BODY])
|
|
220
|
+
def test_flatten_sbml_validate_does_not_change_the_flat_model(
|
|
221
|
+
tmp_path: Path, model: Path
|
|
222
|
+
) -> None:
|
|
223
|
+
"""The validation of the comp model only checks, the flat model is the same."""
|
|
224
|
+
flat_paths = {}
|
|
225
|
+
for validate in (False, True):
|
|
226
|
+
flat_paths[validate] = tmp_path / f"flat_{validate}.xml"
|
|
227
|
+
flatten_sbml(model, flat_paths[validate], validate=validate)
|
|
228
|
+
|
|
229
|
+
assert flat_paths[False].read_bytes() == flat_paths[True].read_bytes()
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
def test_flatten_sbml_doc_does_not_validate_by_default() -> None:
|
|
233
|
+
"""An invalid model which can be flattened is flattened without validation."""
|
|
234
|
+
doc: libsbml.SBMLDocument = libsbml.readSBMLFromString(_SBML_COMP_UNDEFINED_ID)
|
|
235
|
+
|
|
236
|
+
model: libsbml.Model = flatten_sbml_doc(doc).getModel()
|
|
237
|
+
|
|
238
|
+
assert model.getParameter("sub__k") is not None
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
def test_flatten_sbml_doc_validate(caplog: pytest.LogCaptureFixture) -> None:
|
|
242
|
+
"""With `validate=True` an invalid model is not flattened."""
|
|
243
|
+
doc: libsbml.SBMLDocument = libsbml.readSBMLFromString(_SBML_COMP_UNDEFINED_ID)
|
|
244
|
+
|
|
245
|
+
with (
|
|
246
|
+
caplog.at_level(logging.ERROR),
|
|
247
|
+
pytest.raises(ValueError, match="could not be flattend"),
|
|
248
|
+
):
|
|
249
|
+
flatten_sbml_doc(doc, validate=True)
|
|
250
|
+
|
|
251
|
+
assert any("undefined" in message for message in caplog.messages)
|
|
252
|
+
assert doc.getPlugin("comp").getNumModelDefinitions() == 1
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
def test_flatten_sbml_doc_raises_for_an_unresolved_replacement(
|
|
256
|
+
caplog: pytest.LogCaptureFixture,
|
|
257
|
+
) -> None:
|
|
258
|
+
"""A replacement of an element which does not exist fails the flattening.
|
|
259
|
+
|
|
260
|
+
libsbml's converter logs the error and reports success, and without the
|
|
261
|
+
check of its error log the replacement would be dropped in silence.
|
|
262
|
+
"""
|
|
263
|
+
doc: libsbml.SBMLDocument = libsbml.readSBMLFromString(
|
|
264
|
+
_SBML_COMP_HEADER + '<model id="top"><listOfParameters>'
|
|
265
|
+
'<parameter id="p" value="1" constant="true">'
|
|
266
|
+
"<comp:listOfReplacedElements>"
|
|
267
|
+
'<comp:replacedElement comp:submodelRef="sub" comp:idRef="missing"/>'
|
|
268
|
+
"</comp:listOfReplacedElements></parameter></listOfParameters>"
|
|
269
|
+
'<comp:listOfSubmodels><comp:submodel comp:id="sub" comp:modelRef="md"/>'
|
|
270
|
+
"</comp:listOfSubmodels></model>"
|
|
271
|
+
"<comp:listOfModelDefinitions>"
|
|
272
|
+
'<comp:modelDefinition id="md"><listOfParameters>'
|
|
273
|
+
'<parameter id="k" value="1" constant="true"/>'
|
|
274
|
+
"</listOfParameters></comp:modelDefinition>"
|
|
275
|
+
"</comp:listOfModelDefinitions></sbml>"
|
|
276
|
+
)
|
|
277
|
+
|
|
278
|
+
with (
|
|
279
|
+
caplog.at_level(logging.ERROR),
|
|
280
|
+
pytest.raises(ValueError, match="could not be flattend"),
|
|
281
|
+
):
|
|
282
|
+
flatten_sbml_doc(doc)
|
|
283
|
+
|
|
284
|
+
assert any("comp:idRef" in message for message in caplog.messages)
|
|
@@ -271,3 +271,78 @@ def test_validate_doc_logs_report_and_does_not_print(
|
|
|
271
271
|
for r in caplog.records
|
|
272
272
|
), caplog.text
|
|
273
273
|
assert capsys.readouterr().out == ""
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
#: a comp model which is valid, but whose flat model sets the parameter `p`
|
|
277
|
+
#: with an assignment rule and the rate rule of the submodel parameter it
|
|
278
|
+
#: replaces, which only the check of the flat model reports; it declares no
|
|
279
|
+
#: units, so it is checked without the units
|
|
280
|
+
_SBML_COMP_INVALID_FLAT_MODEL = (
|
|
281
|
+
'<?xml version="1.0" encoding="UTF-8"?>'
|
|
282
|
+
'<sbml xmlns="http://www.sbml.org/sbml/level3/version2/core" '
|
|
283
|
+
'xmlns:comp="http://www.sbml.org/sbml/level3/version1/comp/version1" '
|
|
284
|
+
'level="3" version="2" comp:required="true">'
|
|
285
|
+
'<model id="top"><listOfParameters><parameter id="p" constant="false">'
|
|
286
|
+
"<comp:listOfReplacedElements>"
|
|
287
|
+
'<comp:replacedElement comp:submodelRef="sub" comp:idRef="k"/>'
|
|
288
|
+
"</comp:listOfReplacedElements></parameter></listOfParameters>"
|
|
289
|
+
'<listOfRules><assignmentRule variable="p">'
|
|
290
|
+
'<math xmlns="http://www.w3.org/1998/Math/MathML"><cn>1</cn></math>'
|
|
291
|
+
"</assignmentRule></listOfRules>"
|
|
292
|
+
'<comp:listOfSubmodels><comp:submodel comp:id="sub" comp:modelRef="md"/>'
|
|
293
|
+
"</comp:listOfSubmodels></model>"
|
|
294
|
+
'<comp:listOfModelDefinitions><comp:modelDefinition id="md">'
|
|
295
|
+
'<listOfParameters><parameter id="k" constant="false"/></listOfParameters>'
|
|
296
|
+
'<listOfRules><rateRule variable="k">'
|
|
297
|
+
'<math xmlns="http://www.w3.org/1998/Math/MathML"><cn>2</cn></math>'
|
|
298
|
+
"</rateRule></listOfRules>"
|
|
299
|
+
"</comp:modelDefinition></comp:listOfModelDefinitions></sbml>"
|
|
300
|
+
)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def test_validate_doc_checks_the_flat_model_of_a_comp_document() -> None:
|
|
304
|
+
"""The flat model of a comp document is checked by default."""
|
|
305
|
+
doc: libsbml.SBMLDocument = libsbml.readSBMLFromString(
|
|
306
|
+
_SBML_COMP_INVALID_FLAT_MODEL
|
|
307
|
+
)
|
|
308
|
+
|
|
309
|
+
result = validate_doc(
|
|
310
|
+
doc, ValidationOptions(log_errors=False, units_consistency=False)
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
assert {error.getErrorId() for error in result.errors} == {
|
|
314
|
+
libsbml.CompFlatModelNotValid,
|
|
315
|
+
libsbml.MultipleAssignmentOrRateRules,
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
def test_validate_doc_without_the_flat_model_of_a_comp_document() -> None:
|
|
320
|
+
"""`comp_flat_model=False` skips the check of the flat model."""
|
|
321
|
+
doc: libsbml.SBMLDocument = libsbml.readSBMLFromString(
|
|
322
|
+
_SBML_COMP_INVALID_FLAT_MODEL
|
|
323
|
+
)
|
|
324
|
+
|
|
325
|
+
result = validate_doc(
|
|
326
|
+
doc,
|
|
327
|
+
ValidationOptions(
|
|
328
|
+
log_errors=False, units_consistency=False, comp_flat_model=False
|
|
329
|
+
),
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
assert result.errors == []
|
|
333
|
+
# the option holds for the validation only, the document is left as it was
|
|
334
|
+
assert not doc.getPlugin("comp").getOverrideCompFlattening()
|
|
335
|
+
result = validate_doc(
|
|
336
|
+
doc, ValidationOptions(log_errors=False, units_consistency=False)
|
|
337
|
+
)
|
|
338
|
+
assert result.error_count == 2
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
def test_validate_doc_without_the_flat_model_of_a_core_document() -> None:
|
|
342
|
+
"""`comp_flat_model=False` is accepted for a document without comp."""
|
|
343
|
+
result = validate_doc(
|
|
344
|
+
read_sbml(BASIC_SBML),
|
|
345
|
+
ValidationOptions(log_errors=False, comp_flat_model=False),
|
|
346
|
+
)
|
|
347
|
+
|
|
348
|
+
assert result.is_valid()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|