Commit f044c8d4 authored by Andy Yates's avatar Andy Yates
Browse files

[ENSCORESW-647]. Porting fix to branch from HEAD.

Trying to stop the website from warning so much about querying the
ontology schema for stable ids.
parent 9136ceeb
......@@ -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');
}
......
Markdown is supported
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