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

utility script: remove an id from jrc_author #108

Open
virginiascarlett opened this issue Oct 11, 2024 · 1 comment
Open

utility script: remove an id from jrc_author #108

virginiascarlett opened this issue Oct 11, 2024 · 1 comment
Assignees

Comments

@virginiascarlett
Copy link
Collaborator

It would be nice to have a little utility script that lets me remove a particular employee ID from jrc_author. This is occasionally needed. My script doesn't bother prompting the librarian to confirm authors who: (1) have an ORCID on the paper, and (2) have a record in our orcid collection with both an employeeID and an ORCID that matches the one on the paper. I like this; it speeds up curation a lot. Occasionally, though, real, active Janelians will have legitimate reasons for not including Janelia in their affiliations.

Desired usage:
python3 remove_author.py --doi 10.1038/s41586-024-07558-y --id 50135 --write
Output might be something like:

Employee ID 50135 removed. Remaining Janelia authors:
12345,10987,J4567
@robsv
Copy link
Contributor

robsv commented Nov 12, 2024

Simple enough to do unless that author is also a first or last author, but I feel that those cases would be pretty rare, and maybe not going down a rabbit hole to code for. Your thoughts?

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

No branches or pull requests

2 participants