PEtab-dev / libpetab-python

Python package for working with PEtab files
https://libpetab-python.readthedocs.io
MIT License
14 stars 6 forks source link

model.is_valid logs sbml errors twice #166

Closed FFroehlich closed 2 years ago

FFroehlich commented 2 years ago

https://github.com/PEtab-dev/libpetab-python/blob/286494a755ace31cad297076b9664023d7118d1c/petab/sbml.py#L27

calls log_sbml_errors

https://github.com/PEtab-dev/libpetab-python/blob/286494a755ace31cad297076b9664023d7118d1c/petab/models/sbml_model.py#L111

calls log_sbml_errors and is_sbml_consistent