PEATSA/Core/Data.py
def _loadMatrix(self, name):

		'''Unarchives the matrix called name from the data dir and returns it.
		
		Return None if no matrix called name exists or if the data could not be read.'''

		filename = os.path.join(self.path, name)
		try:
			matrix = Matrix.matrixFromCSVFile(filename)
		except IOError:
			print 'Expected matrix %s - missing ...' % filename
			matrix = None
		except TypeError:
			print 'Unable to read matrix %s - Possible file corruption. Ignoring ...' % filename
			matrix = None
			
		return matrix
Unarchives the matrix called name from the data dir and returns it.
		
		Return None if no matrix called name exists or if the data could not be read.
Unarchives the matrix called name from the data dir and returns it.
Return None if no matrix called name exists or if the data could not be read.
Unarchives the matrix called name from the data dir and returns it . Return None if no matrix called name exists or if the data could not be read .
def _loadMatrix(self, name):
		filename = os.path.join(self.path, name)
		try:
			matrix = Matrix.matrixFromCSVFile(filename)
		except IOError:
			print 'Expected matrix %s - missing ...' % filename
			matrix = None
		except TypeError:
			print 'Unable to read matrix %s - Possible file corruption. Ignoring ...' % filename
			matrix = None
		return matrix
def _loadMatrix ( self , name ) : filename = os . path . join ( self . path , name ) try : matrix = Matrix . matrixFromCSVFile ( filename ) except IOError : print 'Expected matrix %s - missing ...' % filename matrix = None except TypeError : print 'Unable to read matrix %s - Possible file corruption. Ignoring ...' % filename matrix = None return matrix
Unarchives the matrix called name from the data dir and returns it.
Unarchives the matrix called name from the data dir and returns it .
'''Unarchives the matrix called name from the data dir and returns it.
		
		Return None if no matrix called name exists or if the data could not be read.'''
self
name