Spaces:
Runtime error
Runtime error
Update af_backprop/alphafold/common/residue_constants.py
Browse files
af_backprop/alphafold/common/residue_constants.py
CHANGED
|
@@ -770,10 +770,10 @@ def _make_rigid_transformation_4x4(ex, ey, translation):
|
|
| 770 |
# and an array with (restype, atomtype, coord) for the atom positions
|
| 771 |
# and compute affine transformation matrices (4,4) from one rigid group to the
|
| 772 |
# previous group
|
| 773 |
-
restype_atom37_to_rigid_group = np.zeros([21, 37], dtype=np.
|
| 774 |
restype_atom37_mask = np.zeros([21, 37], dtype=np.float32)
|
| 775 |
restype_atom37_rigid_group_positions = np.zeros([21, 37, 3], dtype=np.float32)
|
| 776 |
-
restype_atom14_to_rigid_group = np.zeros([21, 14], dtype=np.
|
| 777 |
restype_atom14_mask = np.zeros([21, 14], dtype=np.float32)
|
| 778 |
restype_atom14_rigid_group_positions = np.zeros([21, 14, 3], dtype=np.float32)
|
| 779 |
restype_rigid_group_default_frame = np.zeros([21, 8, 4, 4], dtype=np.float32)
|
|
|
|
| 770 |
# and an array with (restype, atomtype, coord) for the atom positions
|
| 771 |
# and compute affine transformation matrices (4,4) from one rigid group to the
|
| 772 |
# previous group
|
| 773 |
+
restype_atom37_to_rigid_group = np.zeros([21, 37], dtype=np.int_)
|
| 774 |
restype_atom37_mask = np.zeros([21, 37], dtype=np.float32)
|
| 775 |
restype_atom37_rigid_group_positions = np.zeros([21, 37, 3], dtype=np.float32)
|
| 776 |
+
restype_atom14_to_rigid_group = np.zeros([21, 14], dtype=np.int_)
|
| 777 |
restype_atom14_mask = np.zeros([21, 14], dtype=np.float32)
|
| 778 |
restype_atom14_rigid_group_positions = np.zeros([21, 14, 3], dtype=np.float32)
|
| 779 |
restype_rigid_group_default_frame = np.zeros([21, 8, 4, 4], dtype=np.float32)
|