PEATSA/Core/Programs.py
def _chopLigandResultLine(self, resultLine):
	
		'''Chops the result line from a  binding run and returns the essential information
		
		Note: Private method for internal use only
		
		Returns:
			A list containing the binding information'''
	
		#Chop up the result
		components = resultLine.split(" ")
	
		#Get rid of the pdb name which is the first string
		#Then make floats from all the values
		components.pop(0)
		components = [element.strip() for element in components]
		components = [element for element in components if element != "|" and element != ""]
		components = [float(element) for element in components]
	
		#There are 8 components for the binding energy plus the prediction and total stability. 
		#Get rid of the prediction because its meaningless here.
		
		components.pop(8)
		
		return components
Chops the result line from a  binding run and returns the essential information
		
		Note: Private method for internal use only
		
		Returns:
			A list containing the binding information
Chops the result line from a  binding run and returns the essential information
Note: Private method for internal use only
Chops the result line from a binding run and returns the essential information Note : Private method for internal use only
def _chopLigandResultLine(self, resultLine):
		components = resultLine.split(" ")
		components.pop(0)
		components = [element.strip() for element in components]
		components = [element for element in components if element != "|" and element != ""]
		components = [float(element) for element in components]
		components.pop(8)
		return components
def _chopLigandResultLine ( self , resultLine ) : components = resultLine . split ( " " ) components . pop ( 0 ) components = [ element . strip ( ) for element in components ] components = [ element for element in components if element != "|" and element != "" ] components = [ float ( element ) for element in components ] components . pop ( 8 ) return components
Chops the result line from a  binding run and returns the essential information
Note: Private method for internal use only
Chops the result line from a binding run and returns the essential information Note : Private method for internal use only
'''Chops the result line from a  binding run and returns the essential information
		
		Note: Private method for internal use only
		
		Returns:
			A list containing the binding information''' #Chop up the result #Get rid of the pdb name which is the first string #Then make floats from all the values #There are 8 components for the binding energy plus the prediction and total stability.  #Get rid of the prediction because its meaningless here.
A list containing the binding information
A list containing the binding information
self
resultLine