We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbd008 commit 45fd765Copy full SHA for 45fd765
alphafold3_pytorch/inputs.py
@@ -2875,6 +2875,10 @@ def pdb_input_to_molecule_input(
2875
distogram_atom_indices.append(entry["distogram_atom_idx"])
2876
src_tgt_atom_indices.append([entry["first_atom_idx"], entry["last_atom_idx"]])
2877
2878
+ # keep track of the current residue index and atom index for subsequent atomized tokens
2879
+ current_atom_index = 0
2880
+ current_res_index = res_index
2881
+
2882
is_ligand_frame = torch.tensor(is_ligand_frame)
2883
molecule_atom_indices = tensor(molecule_atom_indices)
2884
token_center_atom_indices = tensor(token_center_atom_indices)
0 commit comments