Skip to content

Commit 4e99832

Browse files
authored
fix: update bindingDB url (#8)
1 parent f057f80 commit 4e99832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/load_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def fetch(
4545
affinity_cutoff: int,
4646
affinity_type: str,
4747
) -> pd.DataFrame:
48-
url = f"https://bindingdb.org/axis2/services/BDBService/getLigandsByUniprots?uniprot={uniprot}&cutoff={affinity_cutoff}&response=application/json"
48+
url = f"https://bindingdb.org/rest/getLigandsByUniprots?uniprot={uniprot}&cutoff={affinity_cutoff}&response=application/json"
4949
response = requests.get(url)
5050
assert response.status_code == 200, "[x] Failed to fetch data from bindingdb"
5151

0 commit comments

Comments
 (0)