Skip to content

Commit

Permalink
Revert filtering Dimensions by year
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobthill committed Sep 26, 2024
1 parent 5898235 commit ccf6816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rialto_airflow/harvest/dimensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
def dois_from_orcid(orcid):
logging.info(f"looking up dois for orcid {orcid}")
q = """
search publications where researchers.orcid_id = "{}" and year in [2018:{}]
search publications where researchers.orcid_id = "{}"
return publications [doi]
limit 1000
""".format(orcid, 2024)
""".format(orcid)

# The Dimensions API can flake out sometimes, so try to catch & retry.
# TODO: Consider using retry param in query() instead
Expand Down

0 comments on commit ccf6816

Please sign in to comment.