Update app.py
Browse files
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"]
|
60 |
-
results["raw prediction value"]
|
61 |
-
results["binary prediction value"]
|
|
|
|
|
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"
|