Commit 217c8a25 authored by flothoni's avatar flothoni

Revert "clone.js; fix error on distributions if analysis is loaded"

This reverts commit ffafc46a.
parent ffafc46a
......@@ -788,16 +788,12 @@ Clone.prototype = {
}
} else if (cluster.length == 0) {
// Look for cluster that include this clone
// If analysis is loaded, the value is undefined at the first call of this function
if (clone.mergedId != undefined){
var cluster_clone = this.m.clone(clone.mergedId)
if (cluster_clone.active || cluster_clone.isFiltered) { // cluster ?
this.current_reads[timepoint] -= clone.reads[timepoint]
this.current_clones[timepoint] -= 1
}
// Attention , un clone cluster + split sera vu comme actif...
var cluster_clone = this.m.clone(clone.mergedId)
if (cluster_clone.active || cluster_clone.isFiltered) { // cluster ?
this.current_reads[timepoint] -= clone.reads[timepoint]
this.current_clones[timepoint] -= 1
}
// Attention , un clone cluster + split sera vu comme actif...
}
}
}
......
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