Commit 90e241e4 authored by Marc Duez's avatar Marc Duez
Browse files

graph.js : update resolution line with update ( due to possible reads_segmented change )

parent 54656f11
......@@ -153,6 +153,7 @@ Graph.prototype = {
name: "resolution1",
path: this.constructPathR(this.resolution1)
});
this.data_res.push({
id: this.m.n_windows + 1,
name: "resolution5",
......@@ -379,6 +380,12 @@ Graph.prototype = {
document.getElementById("polyline_container")
.appendChild(line);
}
for (i = 0; i < this.m.time.length; i++) {
this.resolution1[i] = (1 / this.m.reads_segmented[i])
this.resolution5[i] = (5 / this.m.reads_segmented[i])
}
this.data_res[0].path = this.constructPathR(this.resolution1);
this.data_res[1].path = this.constructPathR(this.resolution5);
......
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