Nous avons procédé ce jeudi matin 08 avril 2021 à une MAJ de sécurité urgente. Nous sommes passé de la version 13.9.3 à la version 13.9.5 les releases notes correspondantes sont ici:
https://about.gitlab.com/releases/2021/03/17/security-release-gitlab-13-9-4-released/
https://about.gitlab.com/releases/2021/03/31/security-release-gitlab-13-10-1-released/

Commit 427f7119 authored by marc duez's avatar marc duez Committed by Mathieu Giraud

aligner_sequence.js : amino sequence can also use match symbol

parent 9ce5a97f
......@@ -297,7 +297,29 @@ Sequence.prototype = {
}
}
return this.align(this.seqAA.join(''), SYMBOL_VOID);
var aa = this.align(this.seqAA.join(''), SYMBOL_VOID);
if (this.segmenter.use_dot && this.segmenter.aligned &&
(typeof clone.sequence != 'undefined' && clone.sequence !== 0 ) &&
(this.id != this.segmenter.sequence[this.segmenter.sequence_order[0]].id)){
var ref = this.segmenter.sequence[this.segmenter.sequence_order[0]].aminoString();
this.seq_a = [];
for (var a in aa){
if (aa[a] == '\u00A0' ||
(aa[a] != ref[a] && aa[a] != SYMBOL_VOID && ref[a] != SYMBOL_VOID)){
this.seq_a[a] = aa[a];
}else{
this.seq_a[a] = SYMBOL_MATCH;
if(aa[a] == SYMBOL_VOID || ref[a] == SYMBOL_VOID)
this.seq_a[a] = aa[a];
}
}
return this.seq_a.join('');
}else{
return aa
}
},
aminoSplitString: function () {
......
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