aboutsummaryrefslogtreecommitdiff
path: root/app/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/forms.py')
-rw-r--r--app/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/forms.py b/app/forms.py
index 4a3f880..eaaf547 100644
--- a/app/forms.py
+++ b/app/forms.py
@@ -45,5 +45,11 @@ class generateSMILES(FlaskForm):
n = IntegerField('Number of Molecules to Generate',default=1,validators=[DataRequired()])
#modelSelection = SelectField('Model',choices=[("alpha","Alpha"),("beta","Beta")])
+class generatePDBQTS(FlaskForm):
+ jobType = SelectField(u'Generate for Protein or Ligand', choices=[("", "Protein or Ligand"),('protein', 'Protein (PDB)'), ('ligand', 'Ligand (SMILES)')], default='SelectOption')
+ pdb = StringField('PDB ID')
+ smiles = StringField('SMILES')
+ name = StringField('Compound Name (Optional)')
+
class PyMedSearch(FlaskForm):
query = StringField('Search Query for PubMed',default="Covid-19",validators=[DataRequired()]) \ No newline at end of file