From de584a3caf9f6228636334f80aab6848940716b7 Mon Sep 17 00:00:00 2001
From: Magali Ruffier <mr6@ebi.ac.uk>
Date: Thu, 10 Oct 2013 15:45:02 +0000
Subject: [PATCH] allow for the get_default_version to not return a version
 that should not happen, but non-species database will not have a version this
 includes ancestral sequences databases

---
 modules/Bio/EnsEMBL/DBSQL/CoordSystemAdaptor.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/Bio/EnsEMBL/DBSQL/CoordSystemAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/CoordSystemAdaptor.pm
index bc7cc84fff..73c3346e9d 100644
--- a/modules/Bio/EnsEMBL/DBSQL/CoordSystemAdaptor.pm
+++ b/modules/Bio/EnsEMBL/DBSQL/CoordSystemAdaptor.pm
@@ -641,8 +641,6 @@ sub get_default_version {
     }
   }
 
-  throw('No default version is defined') if(!$version);
-
   return $version;
 }
 
-- 
GitLab