BioSIMI-Python/modules/SimpleModel.py
def createNewRateRule(self, variable_id, rateRule_formula):
        '''
        Creates a new RateRule in the Model and returns a pointer to the object created
        '''
        model = self.getModel()
        check(model,'retreived model object')
        rateRule = model.createRateRule()
        check(rateRule, 'creating a new rate rule inside the model')
        check(rateRule.setFormula(rateRule_formula), 'setting the formula for the rate rule')
        check(rateRule.setVariable(variable_id), 'setting the variable for the rate rule')
        return

        Creates a new RateRule in the Model and returns a pointer to the object created
        
Creates a new RateRule in the Model and returns a pointer to the object created
Creates a new RateRule in the Model and returns a pointer to the object created
def createNewRateRule(self, variable_id, rateRule_formula):
        model = self.getModel()
        check(model,'retreived model object')
        rateRule = model.createRateRule()
        check(rateRule, 'creating a new rate rule inside the model')
        check(rateRule.setFormula(rateRule_formula), 'setting the formula for the rate rule')
        check(rateRule.setVariable(variable_id), 'setting the variable for the rate rule')
        return
def createNewRateRule ( self , variable_id , rateRule_formula ) : model = self . getModel ( ) check ( model , 'retreived model object' ) rateRule = model . createRateRule ( ) check ( rateRule , 'creating a new rate rule inside the model' ) check ( rateRule . setFormula ( rateRule_formula ) , 'setting the formula for the rate rule' ) check ( rateRule . setVariable ( variable_id ) , 'setting the variable for the rate rule' ) return
Creates a new RateRule in the Model and returns a pointer to the object created
Creates a new RateRule in the Model and returns a pointer to the object created
'''
        Creates a new RateRule in the Model and returns a pointer to the object created
        '''
self
variable_id
rateRule_formula