Commit 40ebbc7d authored by flothoni's avatar flothoni

clone.js; add some comment on use of some variables of a clone

Link to #4020
parent 9733bc03
Pipeline #106215 passed with stage
in 7 seconds
......@@ -50,6 +50,8 @@ function Clone(data, model, index, attributes) {
this.split = false
this.seg = {};
this.segEdited = false
// Link to another clone that include this one in his cluster (after merge)
this.mergedId = undefined
this.attributes = attributes
var key = Object.keys(data)
......@@ -735,7 +737,8 @@ Clone.prototype = {
},
/**
* Define a list of compatible real clones
* Define a list of compatible real clones that share the same values for available axis
* The list is sample dependant and differ for each sample
* This list is called at the creation of the clone
*/
defineCompatibleClones: function(){
......@@ -763,7 +766,9 @@ Clone.prototype = {
/**
* Compute the current size of a distrib clone. SUbstract active clone that share same distribution values
* Compute the current size of a distrib clone. Substract active clone that share same distribution values
* This allow to get the current number of reads or clones that are represented by a distribution clone
* Use the list of compatible clones, define for each sample/timepoint to look at if they are filtered or not at the moment
* Will be call at each change top, filter or search action
* @return {[type]} [description]
*/
......
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