PEATSA/Core/Data.py
def synchronize(self):
	
		'''Synchronizes the in memory contents of the data sets matrices with the disk versions'''
		
		if self.environment.isRoot():
			for name in self.data.keys():
				matrix = self.data[name]
				filename = os.path.join(self.path, name + '.csv')
				file = open(filename, 'w')
				file.write(matrix.csvRepresentation())
				file.close()
		
		self.environment.wait()
Synchronizes the in memory contents of the data sets matrices with the disk versions
Synchronizes the in memory contents of the data sets matrices with the disk versions
Synchronizes the in memory contents of the data sets matrices with the disk versions
def synchronize(self):
		if self.environment.isRoot():
			for name in self.data.keys():
				matrix = self.data[name]
				filename = os.path.join(self.path, name + '.csv')
				file = open(filename, 'w')
				file.write(matrix.csvRepresentation())
				file.close()
		self.environment.wait()
def synchronize ( self ) : if self . environment . isRoot ( ) : for name in self . data . keys ( ) : matrix = self . data [ name ] filename = os . path . join ( self . path , name + '.csv' ) file = open ( filename , 'w' ) file . write ( matrix . csvRepresentation ( ) ) file . close ( ) self . environment . wait ( )
Synchronizes the in memory contents of the data sets matrices with the disk versions
Synchronizes the in memory contents of the data sets matrices with the disk versions
'''Synchronizes the in memory contents of the data sets matrices with the disk versions'''
self