Skip to content

Commit b375c07

Browse files
committed
Formatting
1 parent f2c6eed commit b375c07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

caltechdata_api/customize_schema.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ def grid_to_ror(grid):
1717
elif grid == "grid.465477.3":
1818
ror = "00em52312"
1919
else:
20-
url = f"https://api.ror.org/organizations?query.advanced=external_ids.all:{grid}"
20+
url = (
21+
f"https://api.ror.org/organizations?query.advanced=external_ids.all:{grid}"
22+
)
2123
results = requests.get(url).json()
2224
if len(results["items"]) == 0:
2325
print(url + "doesn't have a valid ROR")

0 commit comments

Comments
 (0)