From 70beecf09b03db51c1e4c89098d8573aa623cda0 Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Mon, 14 Apr 2008 09:37:02 +0000
Subject: [PATCH] Deal with species where there is no Vega database.

---
 misc-scripts/ebi_search_dump/dump_ebi.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc-scripts/ebi_search_dump/dump_ebi.pl b/misc-scripts/ebi_search_dump/dump_ebi.pl
index 9ee57592e6..013b915e49 100644
--- a/misc-scripts/ebi_search_dump/dump_ebi.pl
+++ b/misc-scripts/ebi_search_dump/dump_ebi.pl
@@ -180,7 +180,7 @@ sub content {
 
     my $db_vega = vega_attach($dba);
 
-    dump_genes($db_vega);
+    dump_genes($db_vega) if ($db_vega);
 
   }
 
-- 
GitLab