Commit 69264e13 authored by Thonier Florian's avatar Thonier Florian

germline_builder.js: add a condition verify the existence of recombinaisons key in germline

link to #3043
parent 2e7db80d
Pipeline #16682 passed with stages
in 5 minutes and 52 seconds
......@@ -123,6 +123,7 @@ Germline.prototype = {
if (type=="D") type2="4"
if (type=="J") type2="3"
if (typeof this.m.germlineList.list[system] !== 'undefined' &&
typeof this.m.germlineList.list[system].recombinations !== 'undefined' &&
typeof this.m.germlineList.list[system].recombinations[0] !== 'undefined'){
if (typeof this.m.germlineList.list[system].recombinations[0][type2] !== 'undefined' ){
for (var i=0; i<this.m.germlineList.list[system].recombinations[0][type2].length; 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