[Biopython-dev] Removing the deprecated Bio.WWW modules

Peter biopython at maubp.freeserve.co.uk
Fri Jul 25 11:21:31 UTC 2008


On Fri, Jul 25, 2008 at 1:19 AM, Michiel de Hoon <mjldehoon at yahoo.com> wrote:
> Note that Bio.WWW.__init__.py contains some code that is used in other modules.
> Most (but not all) of these modules are deprecated themselves. For the
> non-deprecated modules, it's probably easiest to just copy the code from
> Bio.WWW.__init__.py over to avoid having to import Bio.WWW.

Good catch - I didn't do my recursive grep correctly.  The file
Bio/WWW/__init__.py just contains a RequestLimiter class, and this is
currently used in:

Bio/Blast/NCBIWWW.py (used in qblast, simple to recode as in Bio.Entrez)
Bio/config/_support.py (completely deprecated)
Bio/Prosite/__init__.py (in the deprecated ExPASyDictionary class)
Bio/SwissProt/SProt.py (in the deprecated ExPASyDictionary class)

Note I have just updated Bio.Prosite and Bio.SwissProt to use
Bio.ExPASy rather than Bio.WWW.ExPASy which means we can delete the
deprecated Bio/WWW/ExPASy.py, InterPro.py, NCBI.py and SCOP.py now.

Peter



More information about the Biopython-dev mailing list