Skip to content

fbc: setAssociation should return error code if association is not set #253

@matthiaskoenig

Description

@matthiaskoenig

The fbc helper function should return an error code if the association is not set.
I am using the method with the addMissingGP=False flag. If GPs are missing the association is not set by the function, but still LIBSBML_OPERATION_SUCCESS is returned.

gpa.setAssociation(
    self.geneProductAssociation,
    True,  # bool usingId=False,
    False  # bool addMissingGP=True
)

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