string issue
Browse files
app.py
CHANGED
|
@@ -54,11 +54,13 @@ def compute_Chai1(
|
|
| 54 |
|
| 55 |
print(f"🧬 saving results to disk locally in {output_dir}")
|
| 56 |
for ii, (scores, cif) in enumerate(results):
|
|
|
|
| 57 |
(Path(output_dir) / f"{run_id}-scores.model_idx_{ii}.npz").write_bytes(scores)
|
| 58 |
(Path(output_dir) / f"{run_id}-preds.model_idx_{ii}.cif").write_text(cif)
|
| 59 |
|
| 60 |
print(Path(output_dir) / f"{run_id}-preds.model_idx_{ii}.cif")
|
| 61 |
-
|
|
|
|
| 62 |
print(cif_name)
|
| 63 |
pdb_name = cif_name.split('.cif')[0] + '.pdb'
|
| 64 |
st = gemmi.read_structure(cif_name)
|
|
|
|
| 54 |
|
| 55 |
print(f"🧬 saving results to disk locally in {output_dir}")
|
| 56 |
for ii, (scores, cif) in enumerate(results):
|
| 57 |
+
print(ii, scores, cif)
|
| 58 |
(Path(output_dir) / f"{run_id}-scores.model_idx_{ii}.npz").write_bytes(scores)
|
| 59 |
(Path(output_dir) / f"{run_id}-preds.model_idx_{ii}.cif").write_text(cif)
|
| 60 |
|
| 61 |
print(Path(output_dir) / f"{run_id}-preds.model_idx_{ii}.cif")
|
| 62 |
+
print(str(output_dir)+"/"+str(run_id)+"-preds.model_idx_"+str(ii)+".cif")
|
| 63 |
+
cif_name = str(output_dir)+"/"+str(run_id)+"-preds.model_idx_"+str(ii)+".cif"
|
| 64 |
print(cif_name)
|
| 65 |
pdb_name = cif_name.split('.cif')[0] + '.pdb'
|
| 66 |
st = gemmi.read_structure(cif_name)
|