diff --git a/browser/js/model.js b/browser/js/model.js index f9a50e6e0f398245adf0b934aa8fb76323ad0fe5..3cbffc574b3c9e6502bb7cea29fe6bb42b385ec4 100644 --- a/browser/js/model.js +++ b/browser/js/model.js @@ -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]) }