Commit 92a95cb1 authored by Thonier Florian's avatar Thonier Florian
Browse files

warnings.js; change the title content of warnings selector

parent 89f39c5a
Pipeline #717683 failed with stages
in 1 minute and 21 seconds
......@@ -171,13 +171,15 @@ Warnings.prototype = {
span_warn_show_sample.title = `${warn_info_sample[subwarn_code].clones.length} clonotypes in ${warn_info_sample[subwarn_code].reads} reads with warning ${subwarn_code} in the sample ${this.m.getStrTime(this.m.t)}`
} else {
span_warn_show_sample.innerHTML += `0 (0)`
span_warn_show_sample.title = `0 clonotype in 0 reads with warning ${subwarn_code} in the sample ${this.m.getStrTime(this.m.t)}`
}
if (Object.keys(warn_info_sample).indexOf(subwarn_code) != -1){
span_warn_show_all_sample.innerHTML += `${warn_info_all[subwarn_code].clones.length} (${warn_info_all[subwarn_code].reads})`
span_warn_show_all_sample.title = `${warn_info_all[subwarn_code].clones.length} clonotypes in ${warn_info_all[subwarn_code].reads} reads with warning ${subwarn_code} in the all samples`
span_warn_show_all_sample.title = `${warn_info_all[subwarn_code].clones.length} clonotypes in ${warn_info_all[subwarn_code].reads} reads with warning ${subwarn_code} in all samples`
} else {
span_warn_show_all_sample.innerHTML += `0 (0)`
span_warn_show_all_sample.title = `0 clonotype in 0 reads with warning ${subwarn_code} in all samples`
}
spans.appendChild(span_warn_show_sample)
spans.appendChild(span_intermediate)
......
Supports Markdown
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