aboutsummaryrefslogtreecommitdiff
path: root/app/forms.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-29 19:25:45 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-08-29 19:25:45 +0530
commit29798c7351ec3e3c6a13f40b4f80e804ec803006 (patch)
tree2b21a0159135a916ed0c40697478ce4315a70441 /app/forms.py
parentacc43c48185e0f87f74b462bace85e3147578ff1 (diff)
added single dock functionality, added more information
Diffstat (limited to 'app/forms.py')
-rw-r--r--app/forms.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/forms.py b/app/forms.py
index 975b3ad..4a3f880 100644
--- a/app/forms.py
+++ b/app/forms.py
@@ -34,6 +34,13 @@ class curieForm(FlaskForm):
class statusForm(FlaskForm):
jobID = StringField('Job ID',validators=[DataRequired()])
+class dockSingleForm(FlaskForm):
+ description = StringField('Description',default="Curie Web Task")
+ pdbID = StringField('PDB ID',validators=[DataRequired()])
+ smiles = StringField('SMILES',validators=[DataRequired()])
+ name = StringField('Ligand Name',validators=[DataRequired()])
+ email = StringField('Email', validators=[DataRequired(), Email()])
+
class generateSMILES(FlaskForm):
n = IntegerField('Number of Molecules to Generate',default=1,validators=[DataRequired()])
#modelSelection = SelectField('Model',choices=[("alpha","Alpha"),("beta","Beta")])