PEATSA/Core/Data.py
def writeToStream(self, stream, reduced=True):
	
		'''Writes the contents of the receiver to stream as a mutation list.
		
		Parameters
			filename: The stream to write to.
			
		Exceptions:
			Raises an IOError if the file can't be written to for any reason'''
	
		if self.isSinglePointMutationFormat():
			self._writeSinglePointMutationListToStream(stream)
		else:
			self._writeStandardMutationListToStream(stream, reduced=reduced)
Writes the contents of the receiver to stream as a mutation list.
		
		Parameters
			filename: The stream to write to.
			
		Exceptions:
			Raises an IOError if the file can't be written to for any reason
Writes the contents of the receiver to stream as a mutation list.
Parameters
filename: The stream to write to.

Raises an IOError if the file can't be written to for any reason
Writes the contents of the receiver to stream as a mutation list . Parameters filename : The stream to write to . Raises an IOError if the file can ' t be written to for any reason
def writeToStream(self, stream, reduced=True):
		if self.isSinglePointMutationFormat():
			self._writeSinglePointMutationListToStream(stream)
		else:
			self._writeStandardMutationListToStream(stream, reduced=reduced)
def writeToStream ( self , stream , reduced = True ) : if self . isSinglePointMutationFormat ( ) : self . _writeSinglePointMutationListToStream ( stream ) else : self . _writeStandardMutationListToStream ( stream , reduced = reduced )
Writes the contents of the receiver to stream as a mutation list.
Writes the contents of the receiver to stream as a mutation list .
'''Writes the contents of the receiver to stream as a mutation list.
		
		Parameters
			filename: The stream to write to.
			
		Exceptions:
			Raises an IOError if the file can't be written to for any reason'''
self
stream
reduced