File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2753,8 +2753,8 @@ def forward(
27532753 pairwise_trunk : Float ['b n n dpt' ],
27542754 pairwise_rel_pos_feats : Float ['b n n dpr' ],
27552755 molecule_atom_lens : Int ['b n' ],
2756- molecule_atom_indices : Int ['b n' ],
27572756 token_bonds : Bool ['b n n' ],
2757+ molecule_atom_indices : Int ['b n' ] | None = None ,
27582758 missing_atom_mask : Bool ['b m' ] | None = None ,
27592759 atom_parent_ids : Int ['b m' ] | None = None ,
27602760 return_denoised_pos = False ,
@@ -2822,7 +2822,7 @@ def forward(
28222822
28232823 # section 4.2 - multi-chain permutation alignment
28242824
2825- if single_structure_input :
2825+ if exists ( molecule_atom_indices ) and single_structure_input :
28262826 try :
28272827 atom_pos_aligned_ground_truth = self .multi_chain_permutation_alignment (
28282828 pred_coords = denoised_atom_pos ,
Original file line number Diff line number Diff line change 11[project ]
22name = " alphafold3-pytorch"
3- version = " 0.5.1 "
3+ version = " 0.5.2 "
44description = " Alphafold 3 - Pytorch"
55authors = [
66 {
name =
" Phil Wang" ,
email =
" [email protected] " },
You can’t perform that action at this time.
0 commit comments