[Biopython-dev] Bio.Entrez and the depreciated pm* functions
Michiel de Hoon
mjldehoon at yahoo.com
Thu Mar 13 08:48:29 EDT 2008
That is fine with me. Maybe I was being too conservative.
I'll make those changes.
--Michiel.
Peter <biopython at maubp.freeserve.co.uk> wrote: Hi Michiel (et al),
I have a query regarding the transition from Bio.WWW.NCBI to Bio.Entrez
I notice you've marked several of the functions in Bio.Entrez with
depreciation warnings as the NCBI has retired the associated APIs.
i.e. pmfetch, pmqty and pmneighbor (while the whole of Bio.WWW.NCBI
is deprecated).
Anyone using Bio.WWW.NCBI.pmfetch, Bio.WWW.NCBI.pmqty and
Bio.WWW.NCBI.pmneighbor will get a deprecation warning from
Bio.WWW.NCBI, then if try switch to Bio.Entrez.pmfetch,
Bio.Entrez.pmqty and Bio.Entrez.pmneighbor they still get warnings.
Do you think we can just remove pmfetch, pmqty and pmneighbor from
Bio.Entrez so that it starts out "clean", and adjust the warning from
Bio.WWW.NCBI as follows:
import warnings
warnings.warn("Bio.WWW.NCBI is deprecated. The functions are now
available from Bio.Entrez, except for the pm* functions which the NCBI
have retired.", DeprecationWarning)
What do you think?
Peter
_______________________________________________
Biopython-dev mailing list
Biopython-dev at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biopython-dev
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
More information about the Biopython-dev
mailing list