Skip to content

Commit 4c8a341

Browse files
committed
refine the MoleculeInput rep
1 parent be52f3c commit 4c8a341

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

alphafold3_pytorch/inputs.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,15 @@ class BatchedAtomInput(TypedDict):
5959
@typecheck
6060
class MoleculeInput(TypedDict):
6161
molecules: List[Mol]
62-
molecule_atom_lens: List[Int['t']]
62+
molecule_token_pool_lens: List[List[int]]
63+
molecule_atom_indices: List[List[int] | None]
6364
molecule_ids: Int['n']
6465
additional_molecule_feats: Float['n 9']
66+
atom_pos: Float['m 3'] | None
6567
templates: Float['t n n dt']
66-
msa: Float['s n dm']
67-
token_bonds: Bool['n n'] | None
6868
template_mask: Bool['t'] | None
69+
msa: Float['s n dm']
6970
msa_mask: Bool['s'] | None
70-
atom_pos: Float['m 3'] | None
71-
molecule_atom_indices: Int['n'] | None
7271
distance_labels: Int['n n'] | None
7372
pae_labels: Int['n n'] | None
7473
pde_labels: Int['n'] | None

0 commit comments

Comments
 (0)