Commit 69eb5123 authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'hotfix-s/3199-multi-sample-bug' into 'dev'

Solves multi-upload bug

See merge request !192
parents 77a3fa5e 8e7f2bc1
Pipeline #22825 failed with stages
in 1 minute and 5 seconds
......@@ -207,7 +207,7 @@ def submit():
pre_process = int(data['pre_process'])
pre_process_flag = "WAIT"
sets, id_dict, errors = validate_sets(data['set_ids'])
sets, common_id_dict, errors = validate_sets(data['set_ids'])
data['sets'] = sets
data['errors'] = errors
......@@ -253,6 +253,8 @@ def submit():
f['message'].append("You must reselect the file for it to be uploaded")
id_dict = common_id_dict.copy()
for key in f['id_dict']:
if key not in id_dict:
id_dict[key] = []
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment