Commit 1759f4d9 authored by flothoni's avatar flothoni

model.js; fix error of clustered clones at analysis loading

Link to #4034
parent 217c8a25
Pipeline #105971 passed with stages
in 6 minutes and 29 seconds
......@@ -471,6 +471,12 @@ changeAlleleNotation: function(alleleNotation) {
var cloneID = this.mapID[clusters[i][j]]
new_cluster = new_cluster.concat(this.clusters[cloneID]);
this.clusters[cloneID] = [];
// Set the mergeId value for cluterized clones
var clone = this.clones[cloneID]
if (j != 0){
clone.mergedId = this.mapID[clusters[i][0]]
}
}else{
tmp.push(clusters[i][j])
}
......
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