Update app.py
Browse files
app.py
CHANGED
|
@@ -785,7 +785,7 @@ def calculate_acid_base_analysis(
|
|
| 785 |
if ck <= 0 or vk <= 0 or vu <= 0:
|
| 786 |
return "Input error: Known concentration and both volumes must be positive."
|
| 787 |
|
| 788 |
-
|
| 789 |
"Percentage purity",
|
| 790 |
"Water of crystallisation",
|
| 791 |
):
|
|
|
|
| 785 |
if ck <= 0 or vk <= 0 or vu <= 0:
|
| 786 |
return "Input error: Known concentration and both volumes must be positive."
|
| 787 |
|
| 788 |
+
if calculation_type in (
|
| 789 |
"Percentage purity",
|
| 790 |
"Water of crystallisation",
|
| 791 |
):
|