Commit fb8990b2 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

segmenter.js: clean

parent 91348145
......@@ -509,19 +509,6 @@ Segment.prototype = {
delete this.sequence[id];
},
checkGermline : function (id) {
if (typeof this.germline[id]!="undefined"){
return true
}
else{
return false
}
},
/**
* update(style only) a list of selected clones
* @param {integer[]} list - array of clone index
......@@ -796,11 +783,9 @@ Segment.prototype = {
return "this germline doesn't exist";
}else{
this.addSequenceTosegmenter(id , locus, this.germline[locus][id])
}
},
/**
* build a request with currently selected clones to send to IMGT or igblast <br>
* (see crossDomain.js)
......@@ -1507,14 +1492,6 @@ Sequence.prototype = Object.create(genSeq.prototype);
return vdjArray;
}
Sequence.prototype.getType = function() {
if(this.m.clone(this.id).isSelected()){
return "clone"
}
}
/**
* build a highlight descriptor (start/stop/color/...)
* @param {string} field - clone field name who contain the information to highlight
......
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