(protein)
| 960 | |
| 961 | @torch.no_grad() |
| 962 | def randomize(protein): |
| 963 | torsion_updates = torch.rand((protein.num_residue, 4), device=protein.device) * 2 * np.pi |
| 964 | rotate_side_chain(protein, torsion_updates) |
| 965 | return protein |
| 966 | |
| 967 | |
| 968 | def _rmsd_per_residue(pred_pos_per_residue, true_pos_per_residue, mask): |
nothing calls this directly
no test coverage detected