diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2020-07-31 22:19:38 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2020-07-31 22:19:38 +0530 |
commit | 9a253f896fba757778370c8ad6d40daa3b4cdad0 (patch) | |
tree | 2257187cdbc4c2085fb14df8bbb2e6ae6679c3e4 /app/forms.py | |
parent | 61ce4e7b089d68395be2221f64d89040c0b14a34 (diff) |
added Curie-Generate BETA
Diffstat (limited to 'app/forms.py')
-rw-r--r-- | app/forms.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/forms.py b/app/forms.py index 47f423d..3a06f27 100644 --- a/app/forms.py +++ b/app/forms.py @@ -1,6 +1,6 @@ from flask_wtf import FlaskForm from flask_wtf.file import FileField, FileRequired, FileAllowed -from wtforms import StringField, DecimalField +from wtforms import StringField, DecimalField, IntegerField from wtforms.validators import DataRequired, Email @@ -32,4 +32,7 @@ class curieForm(FlaskForm): email = StringField('Email', validators=[DataRequired(), Email()]) class statusForm(FlaskForm): - jobID = StringField('Job ID',validators=[DataRequired()])
\ No newline at end of file + jobID = StringField('Job ID',validators=[DataRequired()]) + +class generateSMILES(FlaskForm): + n = IntegerField('Number of Molecules to Generate',default=1,validators=[DataRequired()])
\ No newline at end of file |