Commit ceab1249 authored by Marc Duez's avatar Marc Duez

model.js : add case with TRD or IGK germline

parent 397589fa
......@@ -374,6 +374,14 @@ Model.prototype = {
self.germline.v = germline.TRGV;
self.germline.j = germline.TRGJ;
break;
case "IGK":
self.germline.v = germline.IGKV;
self.germline.j = germline.IGKJ;
break;
case "TRD":
self.germline.v = germline.TRDV;
self.germline.j = germline.TRDJ;
break;
default:
self.germline.v = germline.TRGV;
self.germline.j = germline.TRGJ;
......
......@@ -537,7 +537,7 @@ ScatterPlot.prototype = {
* */
initGridModelV: function () {
if (Object.keys(m.germline.vgene).length > 20)
if (Object.keys(this.m.germline.vgene).length > 20)
this.use_simple_v = true;
//Initialisation des paramètres de l'objet concernant les positions des gènes/allèles V _ [gene/allele]_v_used -> Tableau contenant toutes les positions des gènes et allèles V utilisés pendant ce temps
......
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