Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions graphchem/preprocessing/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def get_ring_size(
obj: Union[rdkit.Chem.Atom, rdkit.Chem.Bond],
obj: Union["rdkit.Chem.Atom", "rdkit.Chem.Bond"],
max_size: Optional[int] = 12
) -> int:
"""
Expand Down Expand Up @@ -35,7 +35,7 @@ def get_ring_size(
return max_size


def atom_to_str(atom: rdkit.Chem.Atom) -> str:
def atom_to_str(atom: "rdkit.Chem.Atom") -> str:
"""
Convert an RDKit Atom object to a string representation.

Expand Down Expand Up @@ -82,7 +82,7 @@ def atom_to_str(atom: rdkit.Chem.Atom) -> str:
))


def bond_to_str(bond: rdkit.Chem.Bond) -> str:
def bond_to_str(bond: "rdkit.Chem.Bond") -> str:
"""
Convert an RDKit Bond object to a string representation.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include-package-data = true

[project]
name = "graphchem"
version = "2.3.1"
version = "2.3.2"
authors = [
{ name="Travis Kessler", email="travis.j.kessler@gmail.com" },
]
Expand Down
Loading