Skip to content
Snippets Groups Projects
Commit 34b64d9b authored by Eduardo Eyras's avatar Eduardo Eyras
Browse files

removed duplicated method

parent f6773ae7
No related branches found
No related tags found
No related merge requests found
......@@ -1531,39 +1531,6 @@ sub transform {
=head2 species
Arg [1] : optional Bio::Species $species
Example : none
Description: You can set the species for this gene if you want to use species
specific behaviour. Otherwise species is retrieved from attached
database.
Returntype : Bio::EnsEMBL::Species
Exceptions : none
Caller : external_name, external_db, general for setting
=cut
sub species {
my ( $self, $species ) = @_;
if( defined $species ) {
$self->{species} = $species;
} else {
if( ! exists $self->{species} ) {
if( defined $self->adaptor() ) {
$self->{species} = $self->adaptor()->db->get_MetaContainer()
->get_Species();
}
}
}
return $self->{species};
}
=head2 species
Arg [1] : optional Bio::Species $species
......
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