Skip to content
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

bc7_litcovid returns None instances #713

Closed
jason-fries opened this issue Jun 26, 2022 · 3 comments · Fixed by #949
Closed

bc7_litcovid returns None instances #713

jason-fries opened this issue Jun 26, 2022 · 3 comments · Fixed by #949
Assignees
Labels
bug Something isn't working

Comments

@jason-fries
Copy link
Member

Describe the bug

bc7_litcovid generates instances with out a text field, e.g., {'id': '34', 'document_id': '34219343', 'text': None, 'labels': ['Prevention']}

Steps to reproduce the bug

Iterate through the dataset as normal.

Expected results

text should have a value (since it has labels)

Actual results

text is None in several cases

@jason-fries jason-fries added the bug Something isn't working label Jun 26, 2022
@shamikbose
Copy link
Contributor

#self-assign

@shamikbose
Copy link
Contributor

@jason-fries There's missing data in the actual file. Should I just log it as a warning and exclude it (and others like it) from the dataset?

PMID Journal Title Abstract Keywords Publication Type Authors DOI Label
34219343 Liver Int Management of liver disease in Italy after one year of the SARS-CoV-2 pandemic: A web-based survey.   covid19;hcc;sars-cov-2;cirrhosis;liver transplant Journal Article Ponziani, Francesca Romana;Aghemo, Alessio;Cabibbo, Giuseppe;Masarone, Mario;Montagnese, Sara;Petta, Salvatore;Russo, Francesco Paolo;Lai, Quirino 10.1111/liv.14998 Prevention

@shamikbose
Copy link
Contributor

@jason-fries This is completed in #727

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants