Skip to content

Commit aeac2f2

Browse files
committed
Add to readme
1 parent 45ba627 commit aeac2f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,15 @@ Rscript ./inst/scripts/query-pubmed-grants.R \
3131
--pub_table syn51407023
3232
```
3333

34+
## Automation
35+
There is a github action [updated-publications.yaml](.github/workflows/updated-publications.yaml) that runs this script on a schedule. It will automatically run the above command on a monthly basis. The script is ran via the Synapse service user: `synapse-service-dpe-team`.
36+
37+
Important notes about the github action:
38+
* It will stop after 60 days if there are no pushes to this repository. (This is a Github limitation.)
39+
* The action will fail with "Error: All pmids already in the portal" if there are no pmids to add to the portal.
40+
3441
## Updates
42+
3543
**2023-10-10**
3644
- If the grant serial number overlaps with annother for example `UH2AG064706` and `UH3AG064706` then a different call to get the search results must be made and the previously developed functions do not work
3745
- Found the NIH library for R is much faster than python

0 commit comments

Comments
 (0)