From 34de467bc47f75bd79b8c973332c9f1557ccc5fd Mon Sep 17 00:00:00 2001
From: Steve Trevanion <st3@sanger.ac.uk>
Date: Thu, 9 Feb 2012 17:26:32 +0000
Subject: [PATCH] support for vega_update database type

---
 modules/Bio/EnsEMBL/Registry.pm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/Bio/EnsEMBL/Registry.pm b/modules/Bio/EnsEMBL/Registry.pm
index 28bc2db330..43dcac345c 100644
--- a/modules/Bio/EnsEMBL/Registry.pm
+++ b/modules/Bio/EnsEMBL/Registry.pm
@@ -149,7 +149,8 @@ my %group2adaptor = (
       'pipeline'      => 'Bio::EnsEMBL::Pipeline::DBSQL::DBAdaptor',
       'snp'       => 'Bio::EnsEMBL::ExternalData::SNPSQL::DBAdaptor',
       'variation' => 'Bio::EnsEMBL::Variation::DBSQL::DBAdaptor',
-      'vega'      => 'Bio::EnsEMBL::DBSQL::DBAdaptor'
+      'vega'      => 'Bio::EnsEMBL::DBSQL::DBAdaptor',
+      'vega_update' => 'Bio::EnsEMBL::DBSQL::DBAdaptor',
 );
 
 
@@ -1644,7 +1645,7 @@ sub load_registry_from_db {
   }
 
   # Register Core like databases
-  foreach my $type (qw(core cdna vega otherfeatures rnaseq)) {
+  foreach my $type (qw(core cdna vega vega_update otherfeatures rnaseq)) {
 
     my @dbs = grep { /^[a-z]+_[a-z0-9]+(?:_[a-z0-9]+)?  # species name
                        _
-- 
GitLab