Skip to content

org.sbml.jsbml.util.CobraUtil parses notes incorrectly which are not COBRA notes #269

@matthiaskoenig

Description

@matthiaskoenig

The CobraUtil.parseCobraNotes(sbase); parses incorrect properties if the notes are not cobra notes but contain HTML with : in a pelement.
This is discussed in matthiaskoenig/cy3sbml#107 where we use the method to retrieve the cobra fields.
Unfortunately, this gives false positive properties.

This basically just checks for

<p>KEY:VALUE</p>

and gives false positives for every : in a p element.
The parser should be more robust.

Metadata

Metadata

Assignees

No one assigned

    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