From b3616e1946680fb120e564770fad638ff790424c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20Kusalananda=20K=C3=A4h=C3=A4ri?=
 <ak4@sanger.ac.uk>
Date: Fri, 9 Sep 2011 11:46:46 +0000
Subject: [PATCH] Allow the ontology database to be called
 ensemblgenomes_ontology_NN.

---
 modules/Bio/EnsEMBL/Registry.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/Registry.pm b/modules/Bio/EnsEMBL/Registry.pm
index 2853558612..67c3bd2a4d 100644
--- a/modules/Bio/EnsEMBL/Registry.pm
+++ b/modules/Bio/EnsEMBL/Registry.pm
@@ -1524,7 +1524,7 @@ sub load_registry_from_db {
       if ( $2 eq $software_version ) {
         $temp{$1} = $2;
       }
-    } elsif ( $db =~ /^(ensembl_ontology)_(\d+)/x ) {
+    } elsif ( $db =~ /^(ensembl(?:genomes)_ontology)_(\d+)/x ) {
       if ( $2 eq $software_version ) {
         $ontology_version = $2;
       }
-- 
GitLab