Repository navigation
Update published preprints and suggest paper links in the weekly job - #157
Merged
Merged
Conversation
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Contributor
|
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
… merge cleanly Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
sbfnk-bot
marked this pull request as ready for review
November 19, 2026 12:40
sbfnk
approved these changes
Nov 19, 2026
…ed paper Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
Co-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>
sbfnk
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The weekly publications job adds new papers to
papers.bibbut leaves their links inpaper-open.ymlto be filled in by hand, and a listed preprint stays on the page after its published version appears unless the two titles match. A new job, runningsnippets/update_paper_meta.R, replaces a listed preprint with its published version, found through Crossref, medRxiv or OpenAlex, and keeps the preprint as the Preprint link. It also suggests code, preprint, open peer review and registered protocol links for papers without an entry, read from public metadata and the full text of each paper, and looks a paper up again until its full text can be read.Its changes are worked out from main each week, so they go to one pull request on the fixed branch
paper-links, which each run updates; the papers added from publications issues keep their own weekly pull requests as before. Links already recorded win over new suggestions, a wrong published-version match can be declined withnot_published: true, and the job writes nothing ifpapers.bibcomes out with fewer entries than expected.