aboutsummaryrefslogtreecommitdiff
path: root/app/forms.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-24 16:02:32 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-08-24 16:02:32 +0530
commitae27a5c9996f34487ee0f2669104b30dee263189 (patch)
treefa21e14016105d3932c3e2df1163263e52bcb621 /app/forms.py
parentc9a140900dd82e5e68c49a299371e45511e2410b (diff)
added pubmed search
Diffstat (limited to 'app/forms.py')
-rw-r--r--app/forms.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/forms.py b/app/forms.py
index 44dadfc..975b3ad 100644
--- a/app/forms.py
+++ b/app/forms.py
@@ -36,4 +36,7 @@ class statusForm(FlaskForm):
class generateSMILES(FlaskForm):
n = IntegerField('Number of Molecules to Generate',default=1,validators=[DataRequired()])
- #modelSelection = SelectField('Model',choices=[("alpha","Alpha"),("beta","Beta")]) \ No newline at end of file
+ #modelSelection = SelectField('Model',choices=[("alpha","Alpha"),("beta","Beta")])
+
+class PyMedSearch(FlaskForm):
+ query = StringField('Search Query for PubMed',default="Covid-19",validators=[DataRequired()]) \ No newline at end of file