Commit 6be9249a authored by Ryan Herbert's avatar Ryan Herbert Committed by Mathieu Giraud
Browse files

segmenter.js add missing parameter to addSequenceTosegmenter

The parameter was missing after the rebase performed by @magiraud,
adding this fixes the issue with the germline in segmenter feature
parent 01c780bb
...@@ -834,10 +834,10 @@ updateElem: function (list) { ...@@ -834,10 +834,10 @@ updateElem: function (list) {
* @param {str} sequence * @param {str} sequence
**/ **/
addSequenceTosegmenter : function(id, str){ addSequenceTosegmenter : function(id, locus, str){
var self =this var self =this
this.aligned = false ; this.aligned = false ;
this.sequence[id] = new genSeq(id, this.m, this) this.sequence[id] = new genSeq(id, locus, this.m, this)
this.sequence[id].load("str") this.sequence[id].load("str")
var divParent = document.getElementById("listSeq"); var divParent = document.getElementById("listSeq");
var previous_li = divParent.getElementsByTagName("li"); var previous_li = divParent.getElementsByTagName("li");
......
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