Commit 82aaa3f6 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

germline_builder.js value checking for gene name

Added missing identifier for a value check on gene name
parent 6cd00444
......@@ -180,7 +180,7 @@ Germline.prototype = {
for (var i=0; i<this.m.clones.length; i++){
if (typeof this.m.clone(i).seg != "undefined" &&
typeof this.m.clone(i).seg[type2] != "undefined" &&
typeof this.m.clone(i).seg[type2] != "undefined"
typeof this.m.clone(i).seg[type2]["name"] != "undefined"
){
var gene=this.m.clone(i).seg[type2]["name"];
if (this.m.system != "multi" || this.m.clone(i).get('germline') == system){
......
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