PEATSA/Core/Data.py
def fileForMutationSet(self, mutationSet):
	
		'''Returns the path to the pdb file for mutationSet.
		
		If no pdb corresponding to muationSet exists this method returns None'''
	
		try:
			self.mutationList.index(mutationSet)
			filename = mutationSet.filename(reduced=self.useReducedNaming, pdb=self.pdb)
			mutantDirectory = os.path.join(self.location, 'Mutants')
			filename = os.path.join(mutantDirectory, filename)
		except ValueError:
			filename = None
		
		return filename
Returns the path to the pdb file for mutationSet.
		
		If no pdb corresponding to muationSet exists this method returns None
Returns the path to the pdb file for mutationSet.
If no pdb corresponding to muationSet exists this method returns None
Returns the path to the pdb file for mutationSet . If no pdb corresponding to muationSet exists this method returns None
def fileForMutationSet(self, mutationSet):
		try:
			self.mutationList.index(mutationSet)
			filename = mutationSet.filename(reduced=self.useReducedNaming, pdb=self.pdb)
			mutantDirectory = os.path.join(self.location, 'Mutants')
			filename = os.path.join(mutantDirectory, filename)
		except ValueError:
			filename = None
		return filename
def fileForMutationSet ( self , mutationSet ) : try : self . mutationList . index ( mutationSet ) filename = mutationSet . filename ( reduced = self . useReducedNaming , pdb = self . pdb ) mutantDirectory = os . path . join ( self . location , 'Mutants' ) filename = os . path . join ( mutantDirectory , filename ) except ValueError : filename = None return filename
Returns the path to the pdb file for mutationSet.
Returns the path to the pdb file for mutationSet .
'''Returns the path to the pdb file for mutationSet.
		
		If no pdb corresponding to muationSet exists this method returns None'''
self
mutationSet