Skip to content

Collab aff#172

Merged
seasidesparrow merged 4 commits intoadsabs:mainfrom
seasidesparrow:collab_aff
May 6, 2025
Merged

Collab aff#172
seasidesparrow merged 4 commits intoadsabs:mainfrom
seasidesparrow:collab_aff

Conversation

@seasidesparrow
Copy link
Copy Markdown
Member

No description provided.

 	modified:   adsingestp/parsers/base.py
 	modified:   adsingestp/parsers/jats.py
 	modified:   pyproject.toml
 	new file:   tests/stubdata/input/jats_csp_weird_affil_problem.xml
 	modified:   tests/test_jats.py
 	modified:   adsingestp/parsers/jats.py
 	new file:   tests/stubdata/output/jats_csp_weird_affil_problem.json
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 6, 2025

Codecov Report

Attention: Patch coverage is 93.93939% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.45%. Comparing base (f0a2725) to head (9426d74).

Files with missing lines Patch % Lines
adsingestp/parsers/jats.py 93.93% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #172      +/-   ##
==========================================
- Coverage   91.47%   91.45%   -0.02%     
==========================================
  Files          27       27              
  Lines        3189     3206      +17     
==========================================
+ Hits         2917     2932      +15     
- Misses        272      274       +2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

 	modified:   adsingestp/parsers/base.py
Copy link
Copy Markdown
Contributor

@mugdhapolimera mugdhapolimera 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. delete those extra lines and merge at your convenience

Comment thread adsingestp/parsers/base.py Outdated
{"affPubRaw": j, "affPubID": i.get("affid")[idx] if i.get("affid") else []}
for idx, j in enumerate(i.get("aff", []))
],
# "affiliation": [
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

delete if not needed

 	modified:   adsingestp/parsers/base.py
@seasidesparrow seasidesparrow merged commit dbe6c27 into adsabs:main May 6, 2025
4 checks passed
@seasidesparrow seasidesparrow deleted the collab_aff branch May 7, 2025 11:20
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.

3 participants