-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XMLSyntaxError #55
Comments
I don't think |
Hi, are you sure? gives back a list of dicts. |
Can you try uncompress it first? The file works for me |
Sorry, my mistake! The issues was that the file was not properly downloaded (Im performing a batch download and no error was printed out). Redownloaded it manually and it works directly from the path (skipping uncompressing). Best, |
In [41]: pp.parse_medline_xml('/home/docClass/files/pubmed/pubmed18n1040.xml.gz')
Error: it was not able to read a path, a file-like object, or a string as an XML
File "", line 1
XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
Source: ftp://ftp.ncbi.nlm.nih.gov/pubmed/updatefiles/pubmed18n1040.xml.gz
The text was updated successfully, but these errors were encountered: