We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c6eed commit b375c07Copy full SHA for b375c07
caltechdata_api/customize_schema.py
@@ -17,7 +17,9 @@ def grid_to_ror(grid):
17
elif grid == "grid.465477.3":
18
ror = "00em52312"
19
else:
20
- url = f"https://api.ror.org/organizations?query.advanced=external_ids.all:{grid}"
+ url = (
21
+ f"https://api.ror.org/organizations?query.advanced=external_ids.all:{grid}"
22
+ )
23
results = requests.get(url).json()
24
if len(results["items"]) == 0:
25
print(url + "doesn't have a valid ROR")
0 commit comments