You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've discovered why I am invoking this with the doi collection as the second argument. Because using the orcid collection or leaving it blank throws an error. Not sure if this is just a documentation issue or a functionality issue.
The text was updated successfully, but these errors were encountered:
Yesterday we were looking at get_author_details, which takes as input the dois collection record, and an optional collection object for the orcid collection.
get_doi_record takes as input the DOI and the collection object for the dois collection
(venv) svirskasr@svirskasr-lm10 bin % python3
Python 3.10.15 (main, Sep 7 2024, 00:20:06) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Assigning this to myself. get_doi_record works fine--that was my mistake. I will try out get_author_details on a test case: someone who has an orcid but it's not on the paper. Once I confirm that get_author_details(doi_rec, orcid coll) won't muck up this test case, then I'll invoke it that way in production.
I've discovered why I am invoking this with the doi collection as the second argument. Because using the orcid collection or leaving it blank throws an error. Not sure if this is just a documentation issue or a functionality issue.
The text was updated successfully, but these errors were encountered: