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

        Creates a new Reactant inside the current Reaction object and returns the
        SpeciesReference object to it
        
Creates a new Reactant inside the current Reaction object and returns the
SpeciesReference object to it
Creates a new Reactant inside the current Reaction object and returns the SpeciesReference object to it
def createNewReactant(self, rtSpeciesId, rtConstant, rtStoichiometry):
        species_ref_obj_reactant = self.getReaction().createReactant()
        check(species_ref_obj_reactant,
              'created species_ref_obj_reactant reactant')
        check(species_ref_obj_reactant.setSpecies(
            rtSpeciesId), 'set species_ref_obj_reactant ID')
        check(species_ref_obj_reactant.setConstant(rtConstant),
              'set species_ref_obj_reactant constant')
        check(species_ref_obj_reactant.setStoichiometry(rtStoichiometry),
              'set species_ref_obj_reactant stoichiometry')
        return species_ref_obj_reactant
def createNewReactant ( self , rtSpeciesId , rtConstant , rtStoichiometry ) : species_ref_obj_reactant = self . getReaction ( ) . createReactant ( ) check ( species_ref_obj_reactant , 'created species_ref_obj_reactant reactant' ) check ( species_ref_obj_reactant . setSpecies ( rtSpeciesId ) , 'set species_ref_obj_reactant ID' ) check ( species_ref_obj_reactant . setConstant ( rtConstant ) , 'set species_ref_obj_reactant constant' ) check ( species_ref_obj_reactant . setStoichiometry ( rtStoichiometry ) , 'set species_ref_obj_reactant stoichiometry' ) return species_ref_obj_reactant
Creates a new Reactant inside the current Reaction object and returns the
SpeciesReference object to it
Creates a new Reactant inside the current Reaction object and returns the SpeciesReference object to it
'''
        Creates a new Reactant inside the current Reaction object and returns the
        SpeciesReference object to it
        '''
self
rtSpeciesId
rtConstant
rtStoichiometry