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

Match DOIs with multiple slashes #30

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

lpsinger
Copy link
Member

We assumed that DOI suffixes could only have a single slash, but they can have more than one slash. For example, in the DOI 10.1093/mnras/stz2357, the prefix is 10.1093 and the suffix is mnras/stz2357.

@lpsinger lpsinger added the bug Something isn't working label Feb 21, 2024
@dakota002
Copy link
Collaborator

Looks good, just needs to run prettier

@lpsinger
Copy link
Member Author

Looks good, just needs to run prettier

Darn. I'll set up pre-commit hooks, etc.

@lpsinger
Copy link
Member Author

Oh, weird. It's complaining about README.md, not one of the files that I touched. I'll fix that on main.

We assumed that DOI suffixes could only have a single slash, but
they can have more than one slash. For example, in the DOI
`10.1093/mnras/stz2357`, the prefix is `10.1093` and the suffix
is `mnras/stz2357`.
@lpsinger lpsinger force-pushed the dois-with-two-or-more-slashes branch from 95c7d83 to 52f3b9e Compare February 22, 2024 15:11
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (78dd6f2) 100.00% compared to head (52f3b9e) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines           55        55           
  Branches         3         3           
=========================================
  Hits            55        55           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lpsinger lpsinger merged commit ac145a6 into nasa-gcn:main Feb 22, 2024
12 checks passed
@lpsinger lpsinger deleted the dois-with-two-or-more-slashes branch February 22, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants