Skip to content

Namespace collision with libcombine? #23

Description

@FFroehlich

A user reported the following issue with AMICI: AMICI-dev/AMICI#1483

What ends up happening is that sbml_model.all_elements has type libcombine.SBaseList instead of the usual libsbml.ListWrapperSBase.

I can reproduce that this always happens if both libcombine and libsbml are imported simultaneously. It appears that all kinds of other model elements are also stripped of their usual types and appear as SBase elements. I suspect that this is some kind of incompatibility that arises from the fact that both are swig exported interfaces.

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