BioSIMI-Python/modules/SimpleModel.py
def createNewInitialAssignment(self, symbol, initialAssignment_formula):
        '''
        Creates a new InitialAssignment in the Model and returns a pointer to the object created
        '''
        model = self.getModel()
        check(model,'retreived model object')
        init_asmt = model.createInitialAssignment()
        check(init_asmt,'creating new initial assignment inside the model')
        check(init_asmt.setSymbol(symbol),'setting the symbol to the initial assignment')
        initAsmt_math = parseL3Formula(initialAssignment_formula)
        check(init_asmt.setMath(initAsmt_math),'setting math to the initial assignment')
        return

        Creates a new InitialAssignment in the Model and returns a pointer to the object created
        
Creates a new InitialAssignment in the Model and returns a pointer to the object created
Creates a new InitialAssignment in the Model and returns a pointer to the object created
def createNewInitialAssignment(self, symbol, initialAssignment_formula):
        model = self.getModel()
        check(model,'retreived model object')
        init_asmt = model.createInitialAssignment()
        check(init_asmt,'creating new initial assignment inside the model')
        check(init_asmt.setSymbol(symbol),'setting the symbol to the initial assignment')
        initAsmt_math = parseL3Formula(initialAssignment_formula)
        check(init_asmt.setMath(initAsmt_math),'setting math to the initial assignment')
        return
def createNewInitialAssignment ( self , symbol , initialAssignment_formula ) : model = self . getModel ( ) check ( model , 'retreived model object' ) init_asmt = model . createInitialAssignment ( ) check ( init_asmt , 'creating new initial assignment inside the model' ) check ( init_asmt . setSymbol ( symbol ) , 'setting the symbol to the initial assignment' ) initAsmt_math = parseL3Formula ( initialAssignment_formula ) check ( init_asmt . setMath ( initAsmt_math ) , 'setting math to the initial assignment' ) return
Creates a new InitialAssignment in the Model and returns a pointer to the object created
Creates a new InitialAssignment in the Model and returns a pointer to the object created
'''
        Creates a new InitialAssignment in the Model and returns a pointer to the object created
        '''
self
symbol
initialAssignment_formula