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

fix identifier DOI dupe checks #1038

Merged
merged 4 commits into from
Jun 5, 2024
Merged

Conversation

caseyhans
Copy link
Collaborator

@caseyhans caseyhans commented May 23, 2024

Use our DOI regex to check for duplicate DOIs when validating HERO identifiers

image

@shapiromatron shapiromatron self-requested a review June 4, 2024 22:58
@shapiromatron shapiromatron self-assigned this Jun 4, 2024
Copy link
Owner

@shapiromatron shapiromatron left a comment

Choose a reason for hiding this comment

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

LGTM - I made one minor tweak (08c77eb) to keep they types consistent with what they were before.

I think there still may be duplicates that this check doesn't catch, since this only checks HERO IDs which don't already exist in HAWC, and there could be cases where a different HERO ID has the same DOI or something to that effect, so we may need to revisit again in the future, but this is definitely an incremental improvement!

@shapiromatron shapiromatron merged commit 4369323 into main Jun 5, 2024
4 checks passed
@shapiromatron shapiromatron deleted the fix-identifier-dupe-check branch June 5, 2024 17:34
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