diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-10 00:49:32 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-09-10 00:49:32 +0530 |
commit | 85001f57a619086298af2c283d0e19e426b75dc3 (patch) | |
tree | 0c44d892aa0d57ab9f8807e4be3d3032732f80f3 /app/forms.py | |
parent | e8c3a2e2a04488a23207076f7db14b267d25528c (diff) |
created a pdbqt convertor utility
Diffstat (limited to 'app/forms.py')
-rw-r--r-- | app/forms.py | 6 |
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 |