Spaces:
Sleeping
Sleeping
Update inference_app.py
Browse files- inference_app.py +1 -1
inference_app.py
CHANGED
@@ -15,7 +15,7 @@ def set_all_to_zero(input_pdb_file_1, input_pdb_file_2, output_file):
|
|
15 |
structure2 = PDBFile.read(input_pdb_file_2).get_structure()
|
16 |
structure1.coord = np.zeros_like(structure1.coord)
|
17 |
# shift second to avoid interchain "clash"
|
18 |
-
structure2.coord = np.ones_like(structure2.coord) * np.array([
|
19 |
out_structure = structure1 + structure2
|
20 |
file = PDBFile()
|
21 |
file.set_structure(out_structure)
|
|
|
15 |
structure2 = PDBFile.read(input_pdb_file_2).get_structure()
|
16 |
structure1.coord = np.zeros_like(structure1.coord)
|
17 |
# shift second to avoid interchain "clash"
|
18 |
+
structure2.coord = np.ones_like(structure2.coord) * np.array([3.7, 0, 0])
|
19 |
out_structure = structure1 + structure2
|
20 |
file = PDBFile()
|
21 |
file.set_structure(out_structure)
|