Skip to content

Namespace collision with libcombine? #23

Open
@FFroehlich

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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