PEATDB/plugins/KineticsAnalysis.py
def readEnzymeConcs(self):
        """Read previously calculated enzyme concs from the file"""
        ef = open(os.path.join(self.path,'enzymeconcs.txt'))
        cw=csv.reader(ef)
        enzconcs = {}
        templateconcs = {}
        for r in cw:
            enzconcs[r[0]] = float(r[1])
            templateconcs[r[0]] =  float(r[3])
        #print enzconcs
        return enzconcs, templateconcs
Read previously calculated enzyme concs from the file
Read previously calculated enzyme concs from the file
Read previously calculated enzyme concs from the file
def readEnzymeConcs(self):
        ef = open(os.path.join(self.path,'enzymeconcs.txt'))
        cw=csv.reader(ef)
        enzconcs = {}
        templateconcs = {}
        for r in cw:
            enzconcs[r[0]] = float(r[1])
            templateconcs[r[0]] =  float(r[3])
        return enzconcs, templateconcs
def readEnzymeConcs ( self ) : ef = open ( os . path . join ( self . path , 'enzymeconcs.txt' ) ) cw = csv . reader ( ef ) enzconcs = { } templateconcs = { } for r in cw : enzconcs [ r [ 0 ] ] = float ( r [ 1 ] ) templateconcs [ r [ 0 ] ] = float ( r [ 3 ] ) return enzconcs , templateconcs
Read previously calculated enzyme concs from the file
Read previously calculated enzyme concs from the file
"""Read previously calculated enzyme concs from the file""" #print enzconcs
self