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
)
The fbc helper function should return an error code if the association is not set.
I am using the method with the
addMissingGP=Falseflag. If GPs are missing the association is not set by the function, but stillLIBSBML_OPERATION_SUCCESSis returned.