diff --git a/modules/Bio/EnsEMBL/Gene.pm b/modules/Bio/EnsEMBL/Gene.pm index afedc9313c6eb7d18d75192b284891698188ef7a..24b55762343a6e1d45de0d4b2ca4c731195782c8 100755 --- a/modules/Bio/EnsEMBL/Gene.pm +++ b/modules/Bio/EnsEMBL/Gene.pm @@ -574,7 +574,7 @@ sub get_all_homologous_Genes { # Get the compara 'homologies' corresponding to 'member' my $homology_adaptor = $compara_dba->get_adaptor('Homology'); - my @homolos = @{$homology_adaptor->fetch_by_Member($query_member)}; + my @homolos = @{$homology_adaptor->fetch_all_by_Member($query_member)}; unless( scalar(@homolos) ){ return $self->{'homologues'} }; # Get the ensembl 'genes' corresponding to 'homologies'