Skip to content

Commit

Permalink
small chembl data getter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syedzayyan committed Jun 5, 2024
1 parent 91a7548 commit d4e0113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dataloader/CompoundGetter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function CompoundGetter() {
`/chembl/api/data/activity?format=json&target_chembl_id=${target.target_id}&type=${unit}&target_organism=Homo%20sapiens&assay_type=${binding}&relation==`,
).then((data) => {
data.map((x) => {
x["Ki"] = x["standard_value"];
x[unit] = x["standard_value"];
x["id"] = x["molecule_chembl_id"];
delete x["standard_value"];
return x;
Expand Down

0 comments on commit d4e0113

Please sign in to comment.