Skip to content

log_sbml_errors ignores error severity #167

@FFroehlich

Description

@FFroehlich

severity = error.getSeverityAsString()
returns a string, but libsbml.LIBSBML_SEV_INFO and libsbml.LIBSBML_SEV_WARNING are integers (0 and 1). Thus,
if severity == libsbml.LIBSBML_SEV_INFO:
and
elif severity == libsbml.LIBSBML_SEV_WARNING:
never match and everything is logged as error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions