Skip to content

Commit

Permalink
add .long for group_idx
Browse files Browse the repository at this point in the history
  • Loading branch information
dauparas committed May 7, 2024
1 parent 84614f9 commit 091ab1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,12 @@ def make_torsion_features(feature_dict, repack_everything=True):
S_af2,
torch.tensor(restype_rigid_group_default_frame, device=device),
)

xyz14_noised = feats.frames_and_literature_positions_to_atom14_pos(
pred_frames,
S_af2,
torch.tensor(restype_rigid_group_default_frame, device=device),
torch.tensor(restype_atom14_to_rigid_group, device=device),
torch.tensor(restype_atom14_to_rigid_group, device=device).long(),
torch.tensor(restype_atom14_mask, device=device),
torch.tensor(restype_atom14_rigid_group_positions, device=device),
)
Expand Down

0 comments on commit 091ab1f

Please sign in to comment.