[Biopython-dev] [Bug 2454] Iterators can't use file-like objects

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Feb 25 23:24:47 UTC 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2454


cracka80 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #3 from cracka80 at gmail.com  2008-02-25 18:24 EST -------
(In reply to comment #2)
> I agree with you that this is a problem - its something that gets checked
> explicitly for the parsers used in Bio.SeqIO by the unit test which uses a
> StringIO handle.
> 
> Perhaps Bio/File.py would be a good place to put an "is this a handle"
> function, or maybe just replace these existing checks with relevant attribute
> checks.
> 

What I'll do is add a function, change the checks in the relevant Iterators and
upload a CVS diff (because I don't have write access).
Of course I'll try it out to make sure it's not buggy.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list