Skip to content

Commit

Permalink
Moving the Bio.db import to where it is used. Bio.db is affected by the
Browse files Browse the repository at this point in the history
current mxTextTools/Martel problems; trying to isolate it as much as possible.
  • Loading branch information
mdehoon committed Oct 17, 2007
1 parent c894ea6 commit d108b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bio/GenBank/__init__.py
Expand Up @@ -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

Expand Down Expand Up @@ -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" %
Expand Down

0 comments on commit d108b54

Please sign in to comment.