Commit 1f088c09 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

graphs.js: marks with a "!" points with very few segmented reads

Ideally, we should have an icon here
parent 4ebe767f
......@@ -308,6 +308,12 @@ Graph.prototype = {
d.type = "axis_v";
d.text = time_name;
// Warns when there are very few segmented reads
var percent = (this.m.reads.segmented[this.m.t] / this.m.reads.total[this.m.t]) * 100;
if (percent < 10)
d.text += " !" ;
d.orientation = "vert";
if (this.drag_on && i == this.dragged_time_point) {
var coordinates = [0, 0];
......
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