Spaces:
Sleeping
Sleeping
Update inference_app.py
Browse files- inference_app.py +1 -1
inference_app.py
CHANGED
@@ -71,7 +71,7 @@ def predict(input_sequence, input_ligand, input_msa, input_protein):
|
|
71 |
|
72 |
mol_coords = mol.GetConformer().GetPositions()
|
73 |
# new_coord = [0, 0, 0]
|
74 |
-
new_coord = np.mean(mol_coords, axis=
|
75 |
output_file = "test_out.pdb"
|
76 |
set_protein_to_new_coord(input_protein, new_coord, output_file)
|
77 |
|
|
|
71 |
|
72 |
mol_coords = mol.GetConformer().GetPositions()
|
73 |
# new_coord = [0, 0, 0]
|
74 |
+
new_coord = np.mean(mol_coords, axis=0) + [6.05, 6.05, 6.05]
|
75 |
output_file = "test_out.pdb"
|
76 |
set_protein_to_new_coord(input_protein, new_coord, output_file)
|
77 |
|