BioSIMI-Python/modules/SimpleModel.py
def createNewAssignmentRule(self, variable_id, assignmentRule_formula):
        '''
        Creates a new AssignmentRule in the Model and returns a pointer to the object created
        '''
        model = self.getModel()
        check(model,'retreived model object')
        asmt = model.createAssignmentRule()
        check(asmt, 'creating new assignment rule in the model')
        check(asmt.setFormula(assignmentRule_formula), 'setting the formula to the assignment rule')
        check(asmt.setVariable(variable_id), 'setting the variable to the assignment rule')
        return

        Creates a new AssignmentRule in the Model and returns a pointer to the object created
        
Creates a new AssignmentRule in the Model and returns a pointer to the object created
Creates a new AssignmentRule in the Model and returns a pointer to the object created
def createNewAssignmentRule(self, variable_id, assignmentRule_formula):
        model = self.getModel()
        check(model,'retreived model object')
        asmt = model.createAssignmentRule()
        check(asmt, 'creating new assignment rule in the model')
        check(asmt.setFormula(assignmentRule_formula), 'setting the formula to the assignment rule')
        check(asmt.setVariable(variable_id), 'setting the variable to the assignment rule')
        return
def createNewAssignmentRule ( self , variable_id , assignmentRule_formula ) : model = self . getModel ( ) check ( model , 'retreived model object' ) asmt = model . createAssignmentRule ( ) check ( asmt , 'creating new assignment rule in the model' ) check ( asmt . setFormula ( assignmentRule_formula ) , 'setting the formula to the assignment rule' ) check ( asmt . setVariable ( variable_id ) , 'setting the variable to the assignment rule' ) return
Creates a new AssignmentRule in the Model and returns a pointer to the object created
Creates a new AssignmentRule in the Model and returns a pointer to the object created
'''
        Creates a new AssignmentRule in the Model and returns a pointer to the object created
        '''
self
variable_id
assignmentRule_formula