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

Jats page count bugfix #80

Merged
merged 2 commits into from
Dec 6, 2023
Merged

Conversation

mugdhapolimera
Copy link
Contributor

Avoid parsing page count from input xml if counts = "undef" or other non-numeric values.

@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9d806ea) 89.79% compared to head (6c15a77) 89.79%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #80   +/-   ##
=======================================
  Coverage   89.79%   89.79%           
=======================================
  Files          25       25           
  Lines        2616     2617    +1     
=======================================
+ Hits         2349     2350    +1     
  Misses        267      267           

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

Copy link
Member

@seasidesparrow seasidesparrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend making this change due to the fact that we occasionally receive non-standard data from publishers.

Copy link
Member

@seasidesparrow seasidesparrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, merge at your convenience.

@mugdhapolimera mugdhapolimera merged commit b18e28a into adsabs:main Dec 6, 2023
4 checks passed
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

3 participants