File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2692,7 +2692,7 @@ def __init__(
26922692 dim_single = 384 ,
26932693 dim_pairwise = 128 ,
26942694 dim_additional_token_feats = 2 ,
2695- num_molecule_types = 32 ,
2695+ num_molecule_types = NUM_MOLECULE_IDS ,
26962696 atom_transformer_blocks = 3 ,
26972697 atom_transformer_heads = 4 ,
26982698 atom_transformer_kwargs : dict = dict (),
@@ -3141,6 +3141,7 @@ def __init__(
31413141 # input feature embedder
31423142
31433143 self .input_embedder = InputFeatureEmbedder (
3144+ num_molecule_types = num_molecule_types ,
31443145 dim_atom_inputs = dim_atom_inputs ,
31453146 dim_atompair_inputs = dim_atompair_inputs ,
31463147 atoms_per_window = atoms_per_window ,
Original file line number Diff line number Diff line change 5656IS_METAL_ION_INDEX = - 1
5757IS_BIOMOLECULE_INDICES = slice (0 , 3 )
5858
59- MOLECULE_GAP_ID = len (HUMAN_AMINO_ACIDS ) + len (RNA_NUCLEOTIDES ) + len (DNA_NUCLEOTIDES ) - 1
59+ MOLECULE_GAP_ID = len (HUMAN_AMINO_ACIDS ) + len (RNA_NUCLEOTIDES ) + len (DNA_NUCLEOTIDES )
6060MOLECULE_METAL_ION_ID = MOLECULE_GAP_ID + 1
6161NUM_MOLECULE_IDS = len (HUMAN_AMINO_ACIDS ) + len (RNA_NUCLEOTIDES ) + len (DNA_NUCLEOTIDES ) + 2
6262
Original file line number Diff line number Diff line change 11[project ]
22name = " alphafold3-pytorch"
3- version = " 0.2.2 "
3+ version = " 0.2.3 "
44description = " Alphafold 3 - Pytorch"
55authors = [
66 {
name =
" Phil Wang" ,
email =
" [email protected] " }
You can’t perform that action at this time.
0 commit comments