Commit f4e0315d authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

model.js: save m.reads.segmented into m.reads.segmented_all

m.reads.segmented is updated when one selects some systems by computeReadsSum()
(Perhaps this dynamic value should be called something else...)
parent 04b629e9
......@@ -316,6 +316,13 @@ Model.prototype = {
self.min_sizes = min_sizes;
// save reads.segmented
this.reads.segmented_all = []
for (var i=0 ; i<this.reads.segmented.length; i++){
this.reads.segmented_all[i] = this.reads.segmented[i]
//extract germline
if (typeof self.germlines != 'undefined'){
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