You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While iterating on articles resulting from a PubMed query, I also noticed that the abstract is sometimes incomplete :
For instance :
Query : ((Haliaeetus leucocephalus[Title/Abstract])) AND ((prey[Title/Abstract]) OR (diet[Title/Abstract]))
Returns (when printing first 10 results) :
pubmed_id = '31015971'
abstract = 'Bald eagle ('
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: [e.g. Windows / Linux]
Version [e.g. Python 3.7.0]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
In some cases the title and/or abstract obtained was incomplete
(issue #2) -- 23 in the original pymed repo.
This happens when the text contains html markup tags
(<b>, <i>, <sub>, <sup>, ...).
Example: PMID 31689885
<ArticleTitle>Gamma Irradiated <i>Rhodiola sachalinensis</i> Extract Ameliorates [...]</ArticleTitle>
Before the fix the returned title was just: 'Gamma Irradiated '
<AbstractText>The effect of <i>Rhodiola sachalinensis</i> Boriss extract irradiated [...]</ArticleTitle>
Before the fix the returned abstract was just: 'The effect of '
Fastest solution found: cleanup of frequently used html markup tags like <b>, <i>, <sub>, <sup>.
It seems to fix most of papers correctly, at least for the above mentioned tags.
Describe the bug
See gijswobben#23
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: