adsabs / ADSIngestParser

Curation parser library
MIT License
0 stars 7 forks source link

Fix for issue #44 (Author affiliation data in crossref) #45

Closed seasidesparrow closed 1 year ago

seasidesparrow commented 1 year ago

This PR adds affiliation parsing to the crossref parser to capture affiliation data from those records that have them.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.44 :tada:

Comparison is base (97df85b) 87.60% compared to head (7d0291a) 88.05%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #45 +/- ## ========================================== + Coverage 87.60% 88.05% +0.44% ========================================== Files 20 20 Lines 2122 2126 +4 ========================================== + Hits 1859 1872 +13 + Misses 263 254 -9 ``` | [Impacted Files](https://app.codecov.io/gh/adsabs/ADSIngestParser/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adsabs) | Coverage Δ | | |---|---|---| | [adsingestp/parsers/base.py](https://app.codecov.io/gh/adsabs/ADSIngestParser/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adsabs#diff-YWRzaW5nZXN0cC9wYXJzZXJzL2Jhc2UucHk=) | `93.18% <ø> (ø)` | | | [tests/test\_crossref.py](https://app.codecov.io/gh/adsabs/ADSIngestParser/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adsabs#diff-dGVzdHMvdGVzdF9jcm9zc3JlZi5weQ==) | `93.93% <ø> (ø)` | | | [tests/test\_jats.py](https://app.codecov.io/gh/adsabs/ADSIngestParser/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adsabs#diff-dGVzdHMvdGVzdF9qYXRzLnB5) | `94.93% <ø> (ø)` | | | [adsingestp/parsers/crossref.py](https://app.codecov.io/gh/adsabs/ADSIngestParser/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adsabs#diff-YWRzaW5nZXN0cC9wYXJzZXJzL2Nyb3NzcmVmLnB5) | `91.83% <100.00%> (+0.13%)` | :arrow_up: | | [adsingestp/parsers/jats.py](https://app.codecov.io/gh/adsabs/ADSIngestParser/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=adsabs#diff-YWRzaW5nZXN0cC9wYXJzZXJzL2phdHMucHk=) | `90.58% <100.00%> (+1.46%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.