David Saylor commited on
Commit
53a588f
·
1 Parent(s): 9758ea4

housekeeping

Browse files
Files changed (2) hide show
  1. CHRIS.py +0 -3
  2. templates/report.html +4 -3
CHRIS.py CHANGED
@@ -88,17 +88,14 @@ def app_post():
88
  chemName = ''
89
 
90
  if caIndex < 11:
91
- isCA = True
92
  MW = caData[caIndex][2]
93
  chemName = '*' + caData[caIndex][0].decode('UTF-8') + '*'
94
  impurity = float(request.form["impurity"]) * amount * 1e-2
95
  if caIndex == 11:
96
- isCA = True
97
  MW = caData[caIndex][2]
98
  chemName = '*' + request.form["chemName"] + '*'
99
  impurity = float(request.form["impurity"]) * amount * 1e-2
100
  if caIndex == 12:
101
- isCA = True
102
  MW = float(request.form["MW"])
103
  chemName = '*' + request.form["chemName"] + '*'
104
  impurity = float(request.form["impurity"]) * amount * 1e-2
 
88
  chemName = ''
89
 
90
  if caIndex < 11:
 
91
  MW = caData[caIndex][2]
92
  chemName = '*' + caData[caIndex][0].decode('UTF-8') + '*'
93
  impurity = float(request.form["impurity"]) * amount * 1e-2
94
  if caIndex == 11:
 
95
  MW = caData[caIndex][2]
96
  chemName = '*' + request.form["chemName"] + '*'
97
  impurity = float(request.form["impurity"]) * amount * 1e-2
98
  if caIndex == 12:
 
99
  MW = float(request.form["MW"])
100
  chemName = '*' + request.form["chemName"] + '*'
101
  impurity = float(request.form["impurity"]) * amount * 1e-2
templates/report.html CHANGED
@@ -3,9 +3,10 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <title>CHRIS Report</title>
6
- <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
7
- <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
8
- <link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles.css') }}">
 
9
 
10
  </head>
11
 
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <title>CHRIS Report</title>
6
+
7
+ <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
8
+ <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
9
+ <link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='styles.css') }}">
10
 
11
  </head>
12