Skip to content
Snippets Groups Projects
Commit 74260126 authored by Abel Ureta-Vidal's avatar Abel Ureta-Vidal
Browse files

get_all_homologous_Genes method catches the exception when calling get_Gene...

get_all_homologous_Genes method catches the exception when calling get_Gene from a compara member object.
parent de67f55f
No related branches found
No related tags found
No related merge requests found
......@@ -432,7 +432,8 @@ sub get_all_homologous_Genes{
my ($member, $attrib) = @{$member_attrib};
my $hstable_id = $member->stable_id;
next if ($hstable_id eq $query_member->stable_id); # Ignore self
my $hgene = $member->get_Gene;
my $hgene = undef;
eval { $hgene = $member->get_Gene;} ;
unless( $hgene ){
# Something up with DB. Create a new gene is best we can do
$hgene = Bio::EnsEMBL::Gene->new
......
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