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

Bug fix for failing biorxiv update check #560

Merged
merged 3 commits into from
Feb 7, 2024
Merged

Conversation

aschroed
Copy link
Member

An exception was being thrown as the doi ID used for a pub contained a v# when submitted. That doi was resolvable and the pub page looked fine. However, when the biorxiv api was queried with that doi+v extension it returned an unexpected and handled response.

Now this version bit is parsed out of the ID so api call works as expected
Added conditionals to be sure.
Also now tracking potentially misformatted doi values so they are reported and can be fixed if necessary.

Copy link
Member

@clarabakker clarabakker left a comment

Choose a reason for hiding this comment

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

I think it looks good. I made two boring notes 🙂

@aschroed aschroed merged commit fee8385 into master Feb 7, 2024
1 check failed
@aschroed aschroed deleted the ajs_fix_biorxv_upd branch February 7, 2024 15:33
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.

2 participants