Commit 7c3fd62e authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-c/3326-AA-CDR3' into 'dev'

segmenter.js: Repair AA display

Closes #3326

See merge request !346
parents 3041dbc5 1ee55976
Pipeline #48392 passed with stages
in 6 minutes and 42 seconds
......@@ -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
......@@ -1429,10 +1429,10 @@ Sequence.prototype = Object.create(genSeq.prototype);
var code = "";
var pos;
while (code.length<3 & i<=stop){
while (code.length<3 && i<=stop){
if (this.seq[i] != "-") {
code += this.seq[i];
this.seqAA[i] = "&nbsp;";
this.seqAA[i] = " ";
}
if(code.length == 2) pos = 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