Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Returns a mutation list instance initialised from stream

The returned MutationListFile instance is associated with a temporary filename.
This file is not created unless writeToFile() is called on the returned object

        def mutationListFileFromStream(stream):

	'''Returns a mutation list instance initialised from stream
	
	The returned MutationListFile instance is associated with a temporary filename.
	This file is not created unless writeToFile() is called on the returned object'''
	
	return MutationListFile(filename=None, mutationData=stream.read(), update=False)
        


src/p/e/PEATDB-2.3/PEATSA/WebApp/Data.py   PEATDB(Download)
			mutationData = rows[0][0]
			mutationDataStream = StringIO.StringIO(mutationData)
			mutationList = Core.Data.mutationListFileFromStream(stream=mutationDataStream)
 
		return mutationList

src/p/e/PEATDB-2.3/PEATSA/WebApp/JobSubmission.py   PEATDB(Download)
			#Fixme - catch mutation list exception
			stream.seek(0)
			mutationList = Core.Data.mutationListFileFromStream(stream)
			job.setMutationListFile(mutationList)