Commit b19f850b authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-s/fix-distrib-repertoire-name' into 'dev'

Fix Distribution et original_names sans chemin complet

Closes #4033

See merge request !531
parents 8194bba6 7cb8e0ee
Pipeline #102290 passed with stages
in 15 minutes and 10 seconds
......@@ -340,7 +340,11 @@ def get_data():
data["samples"]["run_id"] = []
for i in range(len(data["samples"]["original_names"])) :
o_n = data["samples"]["original_names"][i].split('/')[-1]
data["samples"]["original_names"][i] = data["samples"]["original_names"][i].split('/')[-1]
if 'distributions' in data and 'repertoires' in data['distributions']:
data['distributions']['repertoires'][o_n] = data['distributions']['repertoires'][data["samples"]["original_names"][i]]
del data['distributions']['repertoires'][data["samples"]["original_names"][i]]
data["samples"]["original_names"][i] = o_n
data["samples"]["config_id"].append(request.vars['config'])
data["samples"]["db_key"].append('')
data["samples"]["commandline"].append(command)
......
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