PEATSA/Core/Utilities.py
def mutants(self):
	
		'''Returns a mutant collection instance initialised with the contents of the mutants argument'''
	
		mutantCollection = None
		if self.opt.has_key('--mutants'):
			mutantDir = self.opt['--mutants']
			#remove the trailing slash if present so split will work
			if mutantDir[-1:] == os.sep:
				mutantDir = mutantDir[:-1]
				
			pathComponents = os.path.split(mutantDir)
			mutantCollection = Data.MutantCollection(name=pathComponents[1], location=pathComponents[0])
		
		return mutantCollection
Returns a mutant collection instance initialised with the contents of the mutants argument
Returns a mutant collection instance initialised with the contents of the mutants argument
Returns a mutant collection instance initialised with the contents of the mutants argument
def mutants(self):
		mutantCollection = None
		if self.opt.has_key('--mutants'):
			mutantDir = self.opt['--mutants']
			if mutantDir[-1:] == os.sep:
				mutantDir = mutantDir[:-1]
			pathComponents = os.path.split(mutantDir)
			mutantCollection = Data.MutantCollection(name=pathComponents[1], location=pathComponents[0])
		return mutantCollection
def mutants ( self ) : mutantCollection = None if self . opt . has_key ( '--mutants' ) : mutantDir = self . opt [ '--mutants' ] if mutantDir [ - 1 : ] == os . sep : mutantDir = mutantDir [ : - 1 ] pathComponents = os . path . split ( mutantDir ) mutantCollection = Data . MutantCollection ( name = pathComponents [ 1 ] , location = pathComponents [ 0 ] ) return mutantCollection
Returns a mutant collection instance initialised with the contents of the mutants argument
Returns a mutant collection instance initialised with the contents of the mutants argument
'''Returns a mutant collection instance initialised with the contents of the mutants argument''' #remove the trailing slash if present so split will work
self