Update app.py
Browse files
app.py
CHANGED
|
@@ -170,10 +170,6 @@ def task_processor():
|
|
| 170 |
|
| 171 |
# NOTE: We retrieve the actual task from tasks_dict
|
| 172 |
current_task = tasks_dict[(student_id, experiment_id)]
|
| 173 |
-
|
| 174 |
-
print(f"[DEBUG] Task processor - Getting new task. Queue counter: {queue_counter}")
|
| 175 |
-
|
| 176 |
-
print(f"[DEBUG] Task start time: {task_start_time}")
|
| 177 |
|
| 178 |
# Mark status as "processing"
|
| 179 |
current_task["status"] = "processing"
|
|
@@ -356,7 +352,7 @@ def debug_experiment(student_id, R, Y, B):
|
|
| 356 |
|
| 357 |
yield {
|
| 358 |
"Status": "Queued",
|
| 359 |
-
"Position": debug,
|
| 360 |
"Student ID": student_id,
|
| 361 |
"Experiment ID": experiment_id,
|
| 362 |
"Well": "DEBUG-A1",
|
|
|
|
| 170 |
|
| 171 |
# NOTE: We retrieve the actual task from tasks_dict
|
| 172 |
current_task = tasks_dict[(student_id, experiment_id)]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 173 |
|
| 174 |
# Mark status as "processing"
|
| 175 |
current_task["status"] = "processing"
|
|
|
|
| 352 |
|
| 353 |
yield {
|
| 354 |
"Status": "Queued",
|
| 355 |
+
"Position": "debug",
|
| 356 |
"Student ID": student_id,
|
| 357 |
"Experiment ID": experiment_id,
|
| 358 |
"Well": "DEBUG-A1",
|