Skip to content

Possible issue with the .setAnnotation method (Python)?  #296

@woosubs

Description

@woosubs

Hi, I was trying to set the annotation of a model.species instance from an SBML model, using the .setAnnotation method with the string below:

for_set_annotation

After this, I retrieved the annotation using .getAnnotationString to check whether it was successfully updated, and found below was returned:

from_get_annotation_string

So all the information exists, but the part between <rdf:Description> …. </rdf:Description> was duplicated except the nested content. It seemed weird, for example because the meta id was duplicated as well. Could you check this and let me know whether it is behaving correctly? I ran the methods on Jupiter Lab with Python version 3.9.15.

Thank you,
Woosub

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions