From d108b543c6f01cd5e2517619f090c421b0400cd7 Mon Sep 17 00:00:00 2001 From: mdehoon Date: Wed, 17 Oct 2007 07:59:35 +0000 Subject: [PATCH] Moving the Bio.db import to where it is used. Bio.db is affected by the current mxTextTools/Martel problems; trying to isolate it as much as possible. --- Bio/GenBank/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bio/GenBank/__init__.py b/Bio/GenBank/__init__.py index 5e1e6182f10..f51cddf7a9e 100644 --- a/Bio/GenBank/__init__.py +++ b/Bio/GenBank/__init__.py @@ -49,7 +49,6 @@ #from Bio.Mindy import SimpleSeqRecord #These are used for downloading files from GenBank -from Bio import db from Bio import EUtils from Bio.EUtils import DBIds, DBIdsClient @@ -1281,6 +1280,7 @@ def __init__(self, database, format, parser = None): to change the results into another form. If unspecified, then the raw contents of the file will be returned. """ + from Bio import db self.parser = parser if database not in self.__class__.VALID_DATABASES: raise ValueError("Invalid database %s, should be one of %s" %