Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit 0ad16c53 authored by Marc Duez's avatar Marc Duez
Browse files

list.js : sortlist debug

- bug if V gene name is not found in the germline
parent e18b4077
......@@ -468,12 +468,16 @@ List.prototype = {
var oA = 2147483647
var oB = 2147483647
if (typeof (self.m.windows[idA].V) != 'undefined' && self.m.windows[idA].V[0]) {
if (typeof (self.m.windows[idA].V) != 'undefined' &&
typeof (self.m.windows[idA].V[0]) != 'undefined' &&
typeof (self.m.germline.v[self.m.windows[idA].V[0]]) != 'undefined') {
var vA = self.m.windows[idA].V[0];
oA = this.m.germline.v[vA].gene * 1000 + this.m.germline.v[vA].allele
}
if (typeof (self.m.windows[idB].V) != 'undefined' && self.m.windows[idB].V[0]) {
if (typeof (self.m.windows[idB].V) != 'undefined' &&
typeof (self.m.windows[idB].V[0]) != 'undefined' &&
typeof (self.m.germline.v[self.m.windows[idB].V[0]]) != 'undefined') {
var vB = self.m.windows[idB].V[0];
oB = this.m.germline.v[vB].gene * 1000 + this.m.germline.v[vB].allele
}
......@@ -496,12 +500,16 @@ List.prototype = {
var oA = 2147483647
var oB = 2147483647
if (typeof (self.m.windows[idA].J) != 'undefined' && self.m.windows[idA].J[0]) {
if (typeof (self.m.windows[idA].J) != 'undefined' &&
typeof (self.m.windows[idA].J[0]) != 'undefined' &&
typeof (self.m.germline.j[self.m.windows[idA].J[0]]) != 'undefined') {
var jA = self.m.windows[idA].J[0];
oA = this.m.germline.j[jA].gene * 1000 + this.m.germline.j[jA].allele
}
if (typeof (self.m.windows[idB].J) != 'undefined' && self.m.windows[idB].J[0]) {
if (typeof (self.m.windows[idB].J) != 'undefined' &&
typeof (self.m.windows[idB].J[0]) != 'undefined' &&
typeof (self.m.germline.j[self.m.windows[idB].J[0]]) != 'undefined') {
var jB = self.m.windows[idB].J[0];
oB = this.m.germline.j[jB].gene * 1000 + this.m.germline.j[jB].allele
}
......
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