David Saylor commited on
Commit ·
b0401e1
1
Parent(s): 67c83d7
updated MwError
Browse files- CHRIS.py +1 -1
- exposure_module/exposure.py +1 -1
CHRIS.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from flask import Flask, render_template
|
| 2 |
|
| 3 |
app = Flask(__name__)
|
| 4 |
-
app.debug =
|
| 5 |
|
| 6 |
from color_module import blueprint
|
| 7 |
app.register_blueprint(blueprint)
|
|
|
|
| 1 |
from flask import Flask, render_template
|
| 2 |
|
| 3 |
app = Flask(__name__)
|
| 4 |
+
app.debug = False
|
| 5 |
|
| 6 |
from color_module import blueprint
|
| 7 |
app.register_blueprint(blueprint)
|
exposure_module/exposure.py
CHANGED
|
@@ -27,7 +27,7 @@ def exp_post():
|
|
| 27 |
return render_template('chemError.html')
|
| 28 |
|
| 29 |
if MW < 100.:
|
| 30 |
-
return render_template('MwError.html', MW=MW, LogP=LogP, iupac=iupac, cas=cas, smiles=smiles, molImage=molImage)
|
| 31 |
|
| 32 |
amount = float(request.form["amount"])
|
| 33 |
mass = float(request.form["mass"])
|
|
|
|
| 27 |
return render_template('chemError.html')
|
| 28 |
|
| 29 |
if MW < 100.:
|
| 30 |
+
return render_template('MwError.html', chemName=chemName, MW=MW, LogP=LogP, iupac=iupac, cas=cas, smiles=smiles, molImage=molImage)
|
| 31 |
|
| 32 |
amount = float(request.form["amount"])
|
| 33 |
mass = float(request.form["mass"])
|