Skip to content
Snippets Groups Projects
Commit d37ed8dc authored by Andy Yates's avatar Andy Yates
Browse files

[ENSCORESW-647]. Added OntologyDBAdaptor as a known type.

Seems that the ConfigRegistry code was not picking up on the right ontology
database object type. Added what I think is the right one and lets see
if it stops the website from warning so much.
parent c50ed112
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ sub gen_load {
}
$pre_hook = \&Bio::EnsEMBL::Utils::ConfigRegistry::pre_funcgen_hook;
$config_sub = \&Bio::EnsEMBL::Utils::ConfigRegistry::load_funcgen;
} elsif ( $dba->isa('Bio::Ensembl::DBSQL::OntologyTermAdaptor') ) {
} elsif ( $dba->isa('Bio::EnsEMBL::DBSQL::OntologyDBAdaptor') || $dba->isa('Bio::Ensembl::DBSQL::OntologyTermAdaptor') ) {
if ( !defined( $dba->group() ) ) {
$dba->group('ontology');
}
......
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