Commit e5fe56d4 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

model.js: parse "?custom=1752,1753" url

parent 9d1f74e4
......@@ -172,7 +172,14 @@ Model.prototype = {
if (tmp2[0] == 'analysis') analysisURL = tmp2[1]
if (tmp2[0] == 'patient') patient = tmp2[1]
if (tmp2[0] == 'config') dbconfig = tmp2[1]
if (tmp2[0] == 'custom') custom_list.push(tmp2[1])
if (tmp2[0] == 'custom') {
custom_split = tmp2[1].split(',')
for (var j=0; j<custom_split.length; j++) {
custom_list.push(custom_split[j])
}
console.log(custom_list.join('+'))
}
}
}
......
......@@ -320,7 +320,7 @@ def custom_fuse(file_list):
p.wait()
os.makedirs(out_folder)
res = {"message": "'custom fuse' (%d files): %s" % (len(file_list), ' '.join(file_list))}
res = {"message": "'custom fuse' (%d files): %s" % (len(file_list), ','.join(file_list))}
log.info(res)
## fuse.py
......
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