Skip to content

Commit eb39511

Browse files
committed
fix types on molecule length input
1 parent 8baeb9a commit eb39511

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

alphafold3_pytorch/inputs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,8 +1085,8 @@ class MoleculeLengthMoleculeInput:
10851085
token_bonds: Bool["n n"] | None = None # type: ignore
10861086
one_token_per_atom: List[bool] | None = None
10871087
is_molecule_mod: Bool["n num_mods"] | Bool[" n"] | None = None # type: ignore
1088-
molecule_atom_indices: List[int | None] | None = None
1089-
distogram_atom_indices: List[int | None] | None = None
1088+
molecule_atom_indices: List[int | None] | Int[" b"] | None = None
1089+
distogram_atom_indices: List[int | None] | Int[" b"] | None = None
10901090
atom_indices_for_frame: List[Tuple[int, int, int] | None] | None = None
10911091
missing_atom_indices: List[Int[" _"] | None] | None = None # type: ignore
10921092
missing_token_indices: List[Int[" _"] | None] | None = None # type: ignore

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "alphafold3-pytorch"
3-
version = "0.7.8"
3+
version = "0.7.9"
44
description = "Alphafold 3 - Pytorch"
55
authors = [
66
{ name = "Phil Wang", email = "[email protected]" },

0 commit comments

Comments
 (0)