Closed kkaris closed 1 year ago
All the failing tests seem to be related to the uniprot client and not to the code in this PR
At least some of the access to uniprot seem to have moved to https://rest.uniprot.org/uniprotkb/
from https://legacy.uniprot.org/uniprot/
- 30 of 31 tests pass when updating uniprot_url
to https://rest.uniprot.org/uniprotkb/
at https://github.com/gyorilab/protmapper/blob/master/protmapper/uniprot_client.py#L18
I see now that there is an open PR for this in protmapper: https://github.com/gyorilab/protmapper/pull/45
Hmm, I reran the tests because the previous failed tests seemed to be related to temporary connection issues (they passed locally), but now the tests stop at the build phase before running the test with this error:
Collecting kappy==4.1.2 (from indra==1.22.0)
Downloading kappy-4.1.2-cp38-cp38-manylinux2010_x86_64.whl (12.3 MB)
━━━━━━━━━━ 3.1/12.3 MB 1.9 MB/s eta 0:00:05
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
kappy==4.1.2 from https://files.pythonhosted.org/packages/ac/a4/306c4aa4aa178df434a56be20225b3429db20e901c38939047436d0fe2f6/kappy-4.1.2-cp38-cp38-manylinux2010_x86_64.whl (from indra==1.22.0):
Expected sha256 b8de8bcd857823215fcc3c184f68de5f1d80dc3b3352107749b8156f85d32ff4
Got 08ec5ddf5296036acf34a806f5e47957a61774715842ba9c824ee4897e84f21b
This PR extends the pubmed client to be able to extract publication as well as issue information from pubmed medline XML data. Two new namespaces are also added for validation.
todo