PEATSA/Core/Data.py
def removeDuplicates(self, autoUpdate=True):
	
		'''Removes any duplicates in the current in memory list and optionally the underlying file'''
		
		seen = {} 
		result = [] 
		for set in self.mutants: 
			#Check if set is in the seen dictionary				
			if set.filename(reduced=True) in seen:
				continue 
			#First time seeing this set - add it to seen	
			seen[set.filename(reduced=True)] = 1 
			result.append(set) 
		
		self.mutants = result
		if autoUpdate is True:
			self.writeToFile()
Removes any duplicates in the current in memory list and optionally the underlying file
Removes any duplicates in the current in memory list and optionally the underlying file
Removes any duplicates in the current in memory list and optionally the underlying file
def removeDuplicates(self, autoUpdate=True):
		seen = {} 
		result = [] 
		for set in self.mutants: 
			if set.filename(reduced=True) in seen:
				continue 
			seen[set.filename(reduced=True)] = 1 
			result.append(set) 
		self.mutants = result
		if autoUpdate is True:
			self.writeToFile()
def removeDuplicates ( self , autoUpdate = True ) : seen = { } result = [ ] for set in self . mutants : if set . filename ( reduced = True ) in seen : continue seen [ set . filename ( reduced = True ) ] = 1 result . append ( set ) self . mutants = result if autoUpdate is True : self . writeToFile ( )
Removes any duplicates in the current in memory list and optionally the underlying file
Removes any duplicates in the current in memory list and optionally the underlying file
'''Removes any duplicates in the current in memory list and optionally the underlying file''' #Check if set is in the seen dictionary				 #First time seeing this set - add it to seen	
self
autoUpdate