Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,8 @@ def add_to_queue(student_id, R, Y, B):
|
|
| 72 |
|
| 73 |
# Ensure total volume is 300 µL
|
| 74 |
if R + Y + B != 300:
|
| 75 |
-
|
|
|
|
| 76 |
|
| 77 |
experiment_id = secrets.token_hex(4)
|
| 78 |
|
|
|
|
| 72 |
|
| 73 |
# Ensure total volume is 300 µL
|
| 74 |
if R + Y + B != 300:
|
| 75 |
+
yield {"Status": "Error", "Message": "The total R, Y, and B volume must be exactly 300 µL."}
|
| 76 |
+
return
|
| 77 |
|
| 78 |
experiment_id = secrets.token_hex(4)
|
| 79 |
|