-
Notifications
You must be signed in to change notification settings - Fork 30
New classifiers with scicrunch RRIDs (⚠️ devops) #2045
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
New classifiers with scicrunch RRIDs (⚠️ devops) #2045
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2045 +/- ##
========================================
- Coverage 73.2% 72.8% -0.5%
========================================
Files 414 421 +7
Lines 15150 15455 +305
Branches 1543 1561 +18
========================================
+ Hits 11099 11256 +157
- Misses 3652 3798 +146
- Partials 399 401 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
c5d8b8a
to
59dbea6
Compare
1fda721
to
2860114
Compare
2860114
to
7dbbc27
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested. Works like a charm 👍
7dbbc27
to
876bce2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when I tried to add a new RRID it said success but the new classifier didn't appear on the list until I refreshed the page. Is there a way we can make it automatically appear or maybe a popup telling the user to refresh?
Other than that, bravo!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nicely done. The only problem I had while testing was that the scicrunch.org server was shaky.
scicrunch.org API is sometimes a bit slow to respond but that is why we are keeping the RRIDs cached on our side once somebody has used them. This should help improving the UX |
Coming here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding some concerns and suggestions for the future.
What do these changes do?
This PR extends classifiers to include using K-Core's curated list of research resource identifiers (RRIDs) from scicrunch's RRID Portal.
what are classifiers?
group_classifiers.c.bundle
group_classifiers.c.uses_scicrunch
)Design
This has been implemented in the
groups
apps module of thewebserver
that uses a new submodulescicrunch
to interact with scicrunch.org.Related issue/s
How to test
manual testing
Current PR is deployed in my machine (see link in Mattermost) with the following setup
Possible checks
unit/integration tests
make devenv cd services/web/server make install-dev make tests
Deployment
.env
:For API_KEY, create account and get one key for each deploy here here)
Checklist
Next PR.
- [ ] FIX: tests- [ ] ValidationErrors to 422 Unprocessable Entity- [ ] Unit tests for the changes existmake openapi-specs
,git commit ...
and thenmake version-*
)