anaryin at gmail.com
Mon Oct 17 15:13:37 UTC 2011
Hey Peter, all,
Sorry to peek in. I was going over some code lately together with Eric and
he suggested I use Bio.File as it was done in plenty of Bio.*IO modules.
What is this deprecation about then?
João [...] Rodrigues
2011/10/17 Peter Cock <p.j.a.cock at googlemail.com>
> Hi Michiel,
> Regarding code using Bio.File, which you asked about
> deprecating last month:
> I objected at the time because I was using it for the
> TogoWS code I was working on,
> On Thu, Sep 8, 2011 at 4:25 PM, Peter Cock <p.j.a.cock at googlemail.com>
> On Wed, Sep 7, 2011 at 3:36 PM, Peter Cock <p.j.a.cock at googlemail.com>
> >>> If the server could be relied on to always give an
> >>> HTTP error code this wouldn't be needed:
> > ...
> > [Some of those TogoWS checks are probably superfluous
> > right now, I'm still polishing the error handling - some of
> > which will rely on TogoWS itself catching more conditions]
> I've updated my TogoWS to rely on the HTTP error codes,
> and removed the heuristic error detection which required
> Bio.File for the UndoHandle. That seems to be working fine
> That leaves Bio/SCOP/__init__.py as the only existing or
> imminent code using Bio.File, so if we can sort that out,
> we can deprecate Bio.File as you suggested.
> Biopython-dev mailing list
> Biopython-dev at lists.open-bio.org
More information about the Biopython-dev