3d-dart/server/plugins/ModelNucleicAcids.py
def ReadPar(self,files):
		
		"""Read 3DNA generated base-pair and base-pair step parameter file (*.par) and append
		   to baseparameter database"""
		
		readfile = file(files, 'r')
		lines = readfile.readlines()
		
		lib = {}
		for n in range(13):
			lib[n] = []
		
		for line in lines[3:]:
			params = []
			for n in range(0,13):	
		 		params.append(line.split()[n])	
			lib[0].append(str(params[0]))
			for value in range(1,13):
				lib[value].append(float(params[value]))
		
		self._MakeBaseparDatabase(lib)
		lib.clear()
Read 3DNA generated base-pair and base-pair step parameter file (*.par) and append
		   to baseparameter database
Read 3DNA generated base-pair and base-pair step parameter file (*.par) and append
to baseparameter database
Read 3DNA generated base - pair and base - pair step parameter file ( * . par ) and append to baseparameter database
def ReadPar(self,files):
		readfile = file(files, 'r')
		lines = readfile.readlines()
		lib = {}
		for n in range(13):
			lib[n] = []
		for line in lines[3:]:
			params = []
			for n in range(0,13):	
		 		params.append(line.split()[n])	
			lib[0].append(str(params[0]))
			for value in range(1,13):
				lib[value].append(float(params[value]))
		self._MakeBaseparDatabase(lib)
		lib.clear()
def ReadPar ( self , files ) : readfile = file ( files , 'r' ) lines = readfile . readlines ( ) lib = { } for n in range ( 13 ) : lib [ n ] = [ ] for line in lines [ 3 : ] : params = [ ] for n in range ( 0 , 13 ) : params . append ( line . split ( ) [ n ] ) lib [ 0 ] . append ( str ( params [ 0 ] ) ) for value in range ( 1 , 13 ) : lib [ value ] . append ( float ( params [ value ] ) ) self . _MakeBaseparDatabase ( lib ) lib . clear ( )
Read 3DNA generated base-pair and base-pair step parameter file (*.par) and append
to baseparameter database
Read 3DNA generated base - pair and base - pair step parameter file ( * . par ) and append to baseparameter database
"""Read 3DNA generated base-pair and base-pair step parameter file (*.par) and append
		   to baseparameter database"""
self
files