Commit dd928dc6 authored by Ian Longden's avatar Ian Longden
Browse files

remove unitialised message by checking for level first

parent 36bf079c
......@@ -2762,9 +2762,11 @@ GSQL
next;
}
}
if($level{$ex_db_id} > $best_gene_level){
$best_gene_xref = $xref_id;
$best_gene_level = $level{$ex_db_id};
if(defined($level{$ex_db_id})){
if($level{$ex_db_id} > $best_gene_level){
$best_gene_xref = $xref_id;
$best_gene_level = $level{$ex_db_id};
}
}
}
......
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