File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -3053,8 +3053,8 @@ def __init__(
30533053 @typecheck
30543054 def _calculate_bin_centers (
30553055 self ,
3056- breaks : Float ['breaks' ],
3057- ) -> Float ['breaks+1' ]:
3056+ breaks : Float [' breaks' ],
3057+ ) -> Float [' breaks+1' ]:
30583058 """
30593059 Args:
30603060 breaks: [num_bins -1] bin edges
@@ -3083,7 +3083,6 @@ def forward(
30833083 ptm_residue_weight : Float ['b n' ] | None = None ,
30843084 multimer_mode : bool = True ,
30853085 ):
3086- device = asym_id .device
30873086 plddt = self .compute_plddt (confidence_head_logits .plddt )
30883087
30893088 # Section 5.9.1 equation 17
@@ -3123,9 +3122,6 @@ def compute_ptm(
31233122 interface : bool = False ,
31243123 compute_chain_wise_iptm : bool = False ,
31253124 ):
3126-
3127- device = logits .device
3128-
31293125 if not exists (residue_weights ):
31303126 residue_weights = torch .ones_like (has_frame )
31313127
Original file line number Diff line number Diff line change 3838)
3939from alphafold3_pytorch .data import mmcif_parsing
4040from alphafold3_pytorch .data .data_pipeline import get_assembly
41+ from alphafold3_pytorch .data .weighted_pdb_sampler import WeightedPDBSampler
4142
4243from alphafold3_pytorch .life import (
4344 ATOM_BONDS ,
Original file line number Diff line number Diff line change 11[project ]
22name = " alphafold3-pytorch"
3- version = " 0.2.47 "
3+ version = " 0.2.48 "
44description = " Alphafold 3 - Pytorch"
55authors = [
66 {
name =
" Phil Wang" ,
email =
" [email protected] " }
You can’t perform that action at this time.
0 commit comments