Commit 6e930a6c authored by Gustaf Ahdritz's avatar Gustaf Ahdritz
Browse files

Increase precision of template operation

parent fc7bb8a3
...@@ -128,9 +128,9 @@ def build_template_pair_feat( ...@@ -128,9 +128,9 @@ def build_template_pair_feat(
n, ca, c = [rc.atom_order[a] for a in ["N", "CA", "C"]] n, ca, c = [rc.atom_order[a] for a in ["N", "CA", "C"]]
rigids = Rigid.make_transform_from_reference( rigids = Rigid.make_transform_from_reference(
n_xyz=batch["template_all_atom_positions"][..., n, :], n_xyz=batch["template_all_atom_positions"][..., n, :].float(),
ca_xyz=batch["template_all_atom_positions"][..., ca, :], ca_xyz=batch["template_all_atom_positions"][..., ca, :].float(),
c_xyz=batch["template_all_atom_positions"][..., c, :], c_xyz=batch["template_all_atom_positions"][..., c, :].float(),
eps=eps, eps=eps,
) )
points = rigids.get_trans()[..., None, :, :] points = rigids.get_trans()[..., None, :, :]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment