PEATSA/WebApp/JobSubmission.py
def isLigandPresent(self):

		'''Returns True if formData contains a PDB file'''

		provided = False
		if self.formData.has_key("ligandFile"):
			if self.formData["ligandFile"].filename != "":
				provided = True;
		
		return provided
Returns True if formData contains a PDB file
Returns True if formData contains a PDB file
Returns True if formData contains a PDB file
def isLigandPresent(self):
		provided = False
		if self.formData.has_key("ligandFile"):
			if self.formData["ligandFile"].filename != "":
				provided = True;
		return provided
def isLigandPresent ( self ) : provided = False if self . formData . has_key ( "ligandFile" ) : if self . formData [ "ligandFile" ] . filename != "" : provided = True ; return provided
Returns True if formData contains a PDB file
Returns True if formData contains a PDB file
'''Returns True if formData contains a PDB file'''
self