BioSIMI-Python/modules/SimpleModel.py
def createNewAlgebraicRule(self, variable_id, algebraicRule_formula):
        '''
        Creates a new AlgebraicRule in the Model and returnsa pointer to the object created
        '''
        model = self.getModel()
        check(model,'retreived model object')
        algbRule = model.createAlgebraicRule()
        check(algbRule, 'creating new algebraic rule inside the model')
        check(algbRule.setFormula(algebraicRule_formula), 'setting the formula for the algebraic rule')
        check(algbRule.setVariable(variable_id), 'setting the variable for the algebraic rule')
        return

        Creates a new AlgebraicRule in the Model and returnsa pointer to the object created
        
Creates a new AlgebraicRule in the Model and returnsa pointer to the object created
Creates a new AlgebraicRule in the Model and returnsa pointer to the object created
def createNewAlgebraicRule(self, variable_id, algebraicRule_formula):
        model = self.getModel()
        check(model,'retreived model object')
        algbRule = model.createAlgebraicRule()
        check(algbRule, 'creating new algebraic rule inside the model')
        check(algbRule.setFormula(algebraicRule_formula), 'setting the formula for the algebraic rule')
        check(algbRule.setVariable(variable_id), 'setting the variable for the algebraic rule')
        return
def createNewAlgebraicRule ( self , variable_id , algebraicRule_formula ) : model = self . getModel ( ) check ( model , 'retreived model object' ) algbRule = model . createAlgebraicRule ( ) check ( algbRule , 'creating new algebraic rule inside the model' ) check ( algbRule . setFormula ( algebraicRule_formula ) , 'setting the formula for the algebraic rule' ) check ( algbRule . setVariable ( variable_id ) , 'setting the variable for the algebraic rule' ) return
Creates a new AlgebraicRule in the Model and returnsa pointer to the object created
Creates a new AlgebraicRule in the Model and returnsa pointer to the object created
'''
        Creates a new AlgebraicRule in the Model and returnsa pointer to the object created
        '''
self
variable_id
algebraicRule_formula