[Biopython-dev] [Bug 2938] Bio.Entrez.read() returns empty string for HTML (not an error)

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Dec 18 09:44:02 UTC 2009


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





------- Comment #6 from mdehoon at ims.u-tokyo.ac.jp  2009-12-18 04:44 EST -------
The offending XML file (the one that does not start with <?xml) is created by
efetch from the journals database. Upon the EUtils documentation more
carefully, it seems that XML output from the journals database is not
officially supported; only text and html output are supported. One option is to
simply remove the offending XML file from the tests, and raise an error
whenever Entrez.read is presented with data that do not start with <?xml.
Additionally, we could add a parser for the text output generated by efetch
from the journals database.


-- 
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