sagawa commited on
Commit
482be2c
·
verified ·
1 Parent(s): 4cbe855

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -56,9 +56,11 @@ def predict_stability_with_pdb(model_choice, organism_choice, pdb_files, cfg=Con
56
  raw_pred, binary_pred = predict_stability_core(
57
  model_choice, organism_choice, input_sequences, cfg
58
  )
59
- results["file_name"].extend(file_names)
60
- results["raw prediction value"].extend(raw_pred)
61
- results["binary prediction value"].extend(binary_pred)
 
 
62
 
63
  df = pd.DataFrame(results)
64
  output_csv = "/tmp/predictions.csv"
 
56
  raw_pred, binary_pred = predict_stability_core(
57
  model_choice, organism_choice, input_sequences, cfg
58
  )
59
+ results["file_name"] = results["file_name"] + file_names
60
+ results["raw prediction value"] = results["raw prediction value"] + raw_pred
61
+ results["binary prediction value"] = (
62
+ results["binary prediction value"] + binary_pred
63
+ )
64
 
65
  df = pd.DataFrame(results)
66
  output_csv = "/tmp/predictions.csv"