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

Updated to use warning instead of $self->warn

parent ffa1d636
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ use vars qw(@ISA);
use strict;
use Bio::EnsEMBL::DBSQL::BaseMetaContainer;
use Bio::EnsEMBL::Utils::Exception qw(deprecate);
use Bio::EnsEMBL::Utils::Exception;
use Bio::Species;
......@@ -173,8 +173,8 @@ sub get_genebuild {
if( @$arrRef ) {
return $arrRef->[0];
} else {
$self->warn("Please insert meta_key 'genebuild.version' " .
"in meta table at core db.\n");
warning("Please insert meta_key 'genebuild.version' " .
"in meta table at core db.\n");
}
}
......
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