-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Commit Predictions File with Git Hash Link, Remove Artifact Upload #1350
Commit Predictions File with Git Hash Link, Remove Artifact Upload #1350
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1350 +/- ##
==========================================
+ Coverage 42.51% 46.27% +3.75%
==========================================
Files 117 118 +1
Lines 8327 8301 -26
Branches 1963 1357 -606
==========================================
+ Hits 3540 3841 +301
+ Misses 4582 4275 -307
+ Partials 205 185 -20 ☔ View full report in Codecov by Sentry. |
I would suggest appending to the existing predictions file, rather than creating new ones each time. If you need to keep track of date provenance for this, then you could add a new column for the publication date |
Here is why we designed this process as it is currently:
I do have an idea that could work and serve as a better solution:
Should we try this? |
I think using a commit hash is a great idea. The action that updates this file can also periodically clean out old predictions that have been either curated or incorporated into the bioregistry.json file |
…registry into add_paper_rankings_to_exports
@nagutm before we wrap this up: is adding the file |
The date specific prediction file was added before the suggestion to use just one predictions file. It can be safely removed. |
Alright, this looks good. The code coverage warning is an artifact of how coverage rules are applied whereby for #1358 coverage wasn't run whereas here it was - choosing to ignore this. |
#1367) This pull request addresses the issue outlined in this comment: #1350 (comment) The `reldate` parameter was replaced by `mindate` and `maxdate` in the functions responsible for searching relevant PubMed papers. This ensures that the PubMed papers fetched within the desired date range is consistent with the `start_date` and `end_date` parameters in the main function. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Benjamin M. Gyori <ben.gyori@gmail.com>
This PR refactors the GitHub Actions workflow for the paper ranking script to ensure the predictions file is committed directly to the repository. The following changes were made:
exports/analyses/paper_ranking/
directory in the repository.Testing via a forked repository successfully showed that the predictions file was saved to the correct directory once the workflow run was complete.