4 Sep 2011 08:09
Bio.GenBank
Michiel de Hoon <mjldehoon <at> yahoo.com>
2011-09-04 06:09:13 GMT
2011-09-04 06:09:13 GMT
Dear all,
Currently, Bio/GenBank/__init__.py imports Bio.ParserSupport but uses very little of it. Therefore I
would like to suggest to remove this dependency on ParserSupport from Bio/GenBank/__init__.py. I
copied the corresponding patch below.
Any objections, anybody?
Best,
--Michiel
diff --git a/Bio/GenBank/__init__.py b/Bio/GenBank/__init__.py
index 43c10d4..df38abe 100644
--- a/Bio/GenBank/__init__.py
+++ b/Bio/GenBank/__init__.py
<at> <at> -47,7 +47,6 <at> <at> import re
# other Biopython stuff
from Bio import SeqFeature
-from Bio.ParserSupport import AbstractConsumer
from Bio import Entrez
# other Bio.GenBank stuff
<at> <at> -389,7 +388,7 <at> <at> class RecordParser(object):
self._scanner.feed(handle, self._consumer)
return self._consumer.data
-class _BaseGenBankConsumer(AbstractConsumer):
+class _BaseGenBankConsumer(object):
"""Abstract GenBank consumer providing useful general functions.
(Continue reading)
RSS Feed