BioSIMI-Python/modules/SimpleModel.py
def createNewFunctionDefinition(self, id, functionDefinition_formula, name = ''):
        '''
        Creates a new FunctionDefinition in the Model and returns a pointer to the object created
        '''
        model = self.getModel()
        check(model,'retreived model object')
        func_def = model.createFunctionDefinition()
        check(func_def, 'creating a new function definition inside the model')
        check(func_def.setId(id), 'setting the id of the function definition')
        if name != '' :
            check(func_def.setName(name), 'setting the name of the function definition')
        func_math = parseL3Formula(functionDefinition_formula)
        check(func_def.setMath(func_math), 'setting the math for the function definition')
        return

        Creates a new FunctionDefinition in the Model and returns a pointer to the object created
        
Creates a new FunctionDefinition in the Model and returns a pointer to the object created
Creates a new FunctionDefinition in the Model and returns a pointer to the object created
def createNewFunctionDefinition(self, id, functionDefinition_formula, name = ''):
        model = self.getModel()
        check(model,'retreived model object')
        func_def = model.createFunctionDefinition()
        check(func_def, 'creating a new function definition inside the model')
        check(func_def.setId(id), 'setting the id of the function definition')
        if name != '' :
            check(func_def.setName(name), 'setting the name of the function definition')
        func_math = parseL3Formula(functionDefinition_formula)
        check(func_def.setMath(func_math), 'setting the math for the function definition')
        return
def createNewFunctionDefinition ( self , id , functionDefinition_formula , name = '' ) : model = self . getModel ( ) check ( model , 'retreived model object' ) func_def = model . createFunctionDefinition ( ) check ( func_def , 'creating a new function definition inside the model' ) check ( func_def . setId ( id ) , 'setting the id of the function definition' ) if name != '' : check ( func_def . setName ( name ) , 'setting the name of the function definition' ) func_math = parseL3Formula ( functionDefinition_formula ) check ( func_def . setMath ( func_math ) , 'setting the math for the function definition' ) return
Creates a new FunctionDefinition in the Model and returns a pointer to the object created
Creates a new FunctionDefinition in the Model and returns a pointer to the object created
'''
        Creates a new FunctionDefinition in the Model and returns a pointer to the object created
        '''
self
id
functionDefinition_formula
name