Commit 1ee55976 authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud

segmenter.js: Repair AA display

Fix #3326
parent 692c8634
Pipeline #47248 passed with stages
in 5 minutes and 14 seconds
...@@ -1414,7 +1414,7 @@ Sequence.prototype = Object.create(genSeq.prototype); ...@@ -1414,7 +1414,7 @@ Sequence.prototype = Object.create(genSeq.prototype);
} }
} }
for (var h=0; h<this.seq.length; h++) this.seqAA[h] =this.seq[h]; // "&nbsp"; for (var h=0; h<this.seq.length; h++) this.seqAA[h] = " ";
var i = 0 var i = 0
...@@ -1429,10 +1429,10 @@ Sequence.prototype = Object.create(genSeq.prototype); ...@@ -1429,10 +1429,10 @@ Sequence.prototype = Object.create(genSeq.prototype);
var code = ""; var code = "";
var pos; var pos;
while (code.length<3 & i<=stop){ while (code.length<3 && i<=stop){
if (this.seq[i] != "-") { if (this.seq[i] != "-") {
code += this.seq[i]; code += this.seq[i];
this.seqAA[i] = "&nbsp;"; this.seqAA[i] = " ";
} }
if(code.length == 2) pos = i; if(code.length == 2) pos = i;
i++; i++;
......
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