From ae27a5c9996f34487ee0f2669104b30dee263189 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Mon, 24 Aug 2020 16:02:32 +0530 Subject: added pubmed search --- app/forms.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/forms.py') 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 -- cgit v1.2.3