libokj commited on
Commit
21a77e5
·
1 Parent(s): 57b9574

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1119,7 +1119,7 @@ def update_df(file, progress=gr.Progress(track_tqdm=True)):
1119
  if task == 'Compound-Protein Binding Affinity':
1120
  # Convert Y^ from pIC50 (nM) to IC50 (nM)
1121
  if 'Y^' in df.columns:
1122
- df['Y^'] = 10 ** (-df['Y^'] / 9)
1123
 
1124
  n_compound = df['X1'].nunique()
1125
  n_protein = df['X2'].nunique()
 
1119
  if task == 'Compound-Protein Binding Affinity':
1120
  # Convert Y^ from pIC50 (nM) to IC50 (nM)
1121
  if 'Y^' in df.columns:
1122
+ df['Y^'] = 10 ** (-df['Y^']) * 1e9
1123
 
1124
  n_compound = df['X1'].nunique()
1125
  n_protein = df['X2'].nunique()