@@ -103,10 +103,10 @@ class MoleculeInput:
103103 molecule_ids : Int [' n' ]
104104 additional_molecule_feats : Float ['n 5' ]
105105 is_molecule_types : Bool ['n 4' ]
106- atom_pos : List [Float ['_ 3' ]] | Float ['m 3' ] | None = None
107106 templates : Float ['t n n dt' ]
108- template_mask : Bool [' t' ] | None = None
109107 msa : Float ['s n dm' ]
108+ atom_pos : List [Float ['_ 3' ]] | Float ['m 3' ] | None = None
109+ template_mask : Bool [' t' ] | None = None
110110 msa_mask : Bool [' s' ] | None = None
111111 distance_labels : Int ['n n' ] | None = None
112112 pae_labels : Int ['n n' ] | None = None
@@ -129,9 +129,9 @@ class Alphafold3Input:
129129 metal_ions : Int [' _' ]
130130 misc_molecule_ids : Int [' _' ]
131131 ligands : List [Mol | str ] # can be given as smiles
132- atom_pos : List [Float ['_ 3' ]] | Float ['m 3' ] | None = None
133132 templates : Float ['t n n dt' ]
134133 msa : Float ['s n dm' ]
134+ atom_pos : List [Float ['_ 3' ]] | Float ['m 3' ] | None = None
135135 template_mask : Bool [' t' ] | None = None
136136 msa_mask : Bool [' s' ] | None = None
137137 distance_labels : Int ['n n' ] | None = None
@@ -140,7 +140,7 @@ class Alphafold3Input:
140140 resolved_labels : Int [' n' ] | None = None
141141
142142@typecheck
143- def af3_input_to_molecule_input ( af3_input : Alphafold3Input ) -> AtomInput :
143+ def alphafold3_input_to_molecule_input ( alphafold3_input : Alphafold3Input ) -> AtomInput :
144144 raise NotImplementedError
145145
146146# pdb input
@@ -161,12 +161,12 @@ def pdb_input_to_alphafold3_input(pdb_input: PDBInput) -> Alphafold3Input:
161161 AtomInput : identity ,
162162 MoleculeInput : molecule_to_atom_input ,
163163 Alphafold3Input : compose (
164- af3_input_to_molecule_input ,
164+ alphafold3_input_to_molecule_input ,
165165 molecule_to_atom_input
166166 ),
167167 PDBInput : compose (
168168 pdb_input_to_alphafold3_input ,
169- af3_input_to_molecule_input ,
169+ alphafold3_input_to_molecule_input ,
170170 molecule_to_atom_input
171171 )
172172}
0 commit comments