Commit 1ec9b137 authored by Ryan Herbert's avatar Ryan Herbert
Browse files

Merge branch 'hotfix-s/update_pre_process_status_edit_sample' into dev

parents 2a0cb1ad a7ed75fe
......@@ -504,7 +504,9 @@ def upload():
error += "no data file"
if request.vars["file_number"] == "2" and len(error) == 0 and data_file2 is None:
error += "no data file"
db.sequence_file[request.vars["id"]] = dict(pre_process_flag=None,
pre_process_result=None)
if data_file is not None and data_file2 is not None and request.vars['pre_process'] != '0':
db.sequence_file[request.vars["id"]] = dict(pre_process_flag = "WAIT")
old_task_id = db.sequence_file[request.vars["id"]].pre_process_scheduler_task_id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment