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

Change API for getting article dataframes and add pretoken analysis #12

Merged
merged 3 commits into from
Feb 5, 2024

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Feb 5, 2024

This PR does the following

  1. renames biolexica.literature.get_pubmed_dataframe to biolexica.literature.get_article_dataframe_from_pubmeds (breaking change)
  2. makes batching part of this process from default
  3. adds biolexica.literature.get_article_dataframe_from_search
  4. adds pre-word analysis and example

Copy link

codecov bot commented Feb 5, 2024

Codecov Report

Attention: 28 lines in your changes are missing coverage. Please review.

Comparison is base (3b472cd) 46.38% compared to head (56abc10) 44.39%.

Files Patch % Lines
src/biolexica/literature/analyze.py 0.00% 21 Missing ⚠️
src/biolexica/literature/search.py 50.00% 4 Missing ⚠️
src/biolexica/literature/retrieve.py 86.36% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   46.38%   44.39%   -2.00%     
==========================================
  Files          12       12              
  Lines         373      410      +37     
  Branches       75       70       -5     
==========================================
+ Hits          173      182       +9     
- Misses        193      219      +26     
- Partials        7        9       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cthoyt cthoyt merged commit e4d324e into main Feb 5, 2024
7 of 8 checks passed
@cthoyt cthoyt deleted the pretoken-analysis branch February 5, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant