Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

Commit 6efc8cbe authored by Mathieu Giraud's avatar Mathieu Giraud

builder.js, segmenter.js, export.js: use toStringThousands() for number of reads

parent 116f3a1a
......@@ -678,7 +678,7 @@ Builder.prototype = {
if (this.m.reads.segmented[this.m.t] > 0)
{
var percent = (this.m.reads.segmented[this.m.t] / this.m.reads.total[this.m.t]) * 100
val = this.m.reads.segmented[this.m.t] + " reads" + " (" + percent.toFixed(2) + "%)"
val = this.m.toStringThousands(this.m.reads.segmented[this.m.t]) + " reads" + " (" + percent.toFixed(2) + "%)"
var warning = false ;
if (percent < 10) { val += " – Very few reads segmented" ; warning = "alert" ; }
......@@ -688,7 +688,7 @@ Builder.prototype = {
var div_segmented = this.build_info_line("info_segmented", "segmented", val, warning)
parent.appendChild(div_segmented)
var div_total = this.build_info_line("info_total", "total", this.m.reads.total[this.m.t] + " reads")
var div_total = this.build_info_line("info_total", "total", this.m.toStringThousands(this.m.reads.total[this.m.t]) + " reads")
parent.appendChild(div_total)
......
......@@ -252,7 +252,7 @@ Report.prototype = {
var box = $('<div/>', {class: 'float-left'})
$('<div/>', {class: 'case centered', text : m.getStrTime(time)}).appendTo(box);
$('<div/>', {class: 'case centered', text : m.reads.total[time]}).appendTo(box);
$('<div/>', {class: 'case centered', text : m.toStringThousands(m.reads.total[time])}).appendTo(box);
var segmented = ((m.reads.segmented[time]/m.reads.total[time])*100).toFixed(0) + "%"
var seg_box = $('<div/>', {class: 'case centered', text : segmented}).appendTo(box);
......
......@@ -473,7 +473,7 @@ Segment.prototype = {
if (sumReads > 0)
{
t += length + " clone" + (length>1 ? "s" : "") + ", "
t += sumReads + " read" + (sumReads>1 ? "s" : "") + ", "
t += this.m.toStringThousands(sumReads) + " read" + (sumReads>1 ? "s" : "") + ", "
t += sumPercentage = m.formatSize(sumPercentage, 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