BioSIMI-Python/modules/NewReaction.py
def createNewProduct(self, rtSpeciesId, rtConstant, rtStoichiometry):
        '''
        Creates a new Product inside the current Reaction object and returns the
        SpeciesReference object to it
        '''
        species_ref_obj_product = self.getReaction().createProduct()
        check(species_ref_obj_product, 'created species_ref_obj_product produc')
        check(species_ref_obj_product.setSpecies(rtSpeciesId), 'set species_ref_obj_product ID')
        check(species_ref_obj_product.setConstant(rtConstant),
              'set species_ref_obj_product constant')
        check(species_ref_obj_product.setStoichiometry(rtStoichiometry),
              'set species_ref_obj_product stoichiometry')
        return species_ref_obj_product

        Creates a new Product inside the current Reaction object and returns the
        SpeciesReference object to it
        
Creates a new Product inside the current Reaction object and returns the
SpeciesReference object to it
Creates a new Product inside the current Reaction object and returns the SpeciesReference object to it
def createNewProduct(self, rtSpeciesId, rtConstant, rtStoichiometry):
        species_ref_obj_product = self.getReaction().createProduct()
        check(species_ref_obj_product, 'created species_ref_obj_product produc')
        check(species_ref_obj_product.setSpecies(rtSpeciesId), 'set species_ref_obj_product ID')
        check(species_ref_obj_product.setConstant(rtConstant),
              'set species_ref_obj_product constant')
        check(species_ref_obj_product.setStoichiometry(rtStoichiometry),
              'set species_ref_obj_product stoichiometry')
        return species_ref_obj_product
def createNewProduct ( self , rtSpeciesId , rtConstant , rtStoichiometry ) : species_ref_obj_product = self . getReaction ( ) . createProduct ( ) check ( species_ref_obj_product , 'created species_ref_obj_product produc' ) check ( species_ref_obj_product . setSpecies ( rtSpeciesId ) , 'set species_ref_obj_product ID' ) check ( species_ref_obj_product . setConstant ( rtConstant ) , 'set species_ref_obj_product constant' ) check ( species_ref_obj_product . setStoichiometry ( rtStoichiometry ) , 'set species_ref_obj_product stoichiometry' ) return species_ref_obj_product
Creates a new Product inside the current Reaction object and returns the
SpeciesReference object to it
Creates a new Product inside the current Reaction object and returns the SpeciesReference object to it
'''
        Creates a new Product inside the current Reaction object and returns the
        SpeciesReference object to it
        '''
self
rtSpeciesId
rtConstant
rtStoichiometry