Commit f7f3949e authored by Mikaël Salson's avatar Mikaël Salson

tools/js: Display tags retrieved from the server

Closes #3716
parent 2697c885
Pipeline #63041 passed with stages
in 5 minutes and 35 seconds
...@@ -289,6 +289,9 @@ function processCloneDBContents(results,model) { ...@@ -289,6 +289,9 @@ function processCloneDBContents(results,model) {
config_name = 'unknown'; config_name = 'unknown';
var url = '?sample_set_id='+results[clone].tags.sample_set[i]+'&config='+results[clone].tags.config_id[0]; var url = '?sample_set_id='+results[clone].tags.sample_set[i]+'&config='+results[clone].tags.config_id[0];
var msg = '<a href="'+url+'">'+name+'</a> ('+config_name+')'; var msg = '<a href="'+url+'">'+name+'</a> ('+config_name+')';
if (typeof results[clone].tags.sample_tags !== 'undefined') {
msg += results[clone].tags.sample_tags.join();
}
if (! (url in existing_urls)) { if (! (url in existing_urls)) {
clones_results[name] = [results[clone].occ,parseFloat(results[clone].tags.percentage[0])]; clones_results[name] = [results[clone].occ,parseFloat(results[clone].tags.percentage[0])];
existing_urls[url] = true; existing_urls[url] = true;
......
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