sul-dlss / sul_pub

SUL system for harvest and managing publications for Stanford CAP, with controlled API access.
http://cap.stanford.edu
Other
8 stars 3 forks source link

strip MEDLINE prefix when creating Wos records with PMIDs #1655

Closed peetucket closed 9 months ago

peetucket commented 9 months ago

Why was this change made?

Fixes #1653 - strip MEDLINE from PMIDs for WoS records when creating pubhash from WoS source records. This allows the WoS record to have a properly formatted PMID when both creating the pubhash identifier and URL and will prevent the issue we are seeing in #1653 (because when Profiles sends back the PMID when requesting to add the publication, we will find it correctly).

How was this change tested?

Added a new test Localhost

Which documentation and/or configurations were updated?