File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33# pylint: disable=too-many-arguments
44
5- from collections .abc import Iterable
6- from typing import Any , Self
5+ from __future__ import annotations
6+
7+ from typing import TYPE_CHECKING , Any , Self
78
89import numpy as np
910import numpy .typing as npt
1011from chemprop .data import MoleculeDatapoint , MoleculeDataset
11- from chemprop .featurizers .base import GraphFeaturizer , VectorFeaturizer
1212
1313from molpipeline .abstract_pipeline_elements .core import MolToAnyPipelineElement
1414from molpipeline .estimators .chemprop .featurizer_wrapper .graph_wrapper import (
1515 SimpleMoleculeMolGraphFeaturizer ,
1616)
17- from molpipeline .utils .molpipeline_types import RDKitMol
17+
18+ if TYPE_CHECKING :
19+ from collections .abc import Iterable
20+
21+ from chemprop .featurizers .base import GraphFeaturizer , VectorFeaturizer
22+
23+ from molpipeline .utils .molpipeline_types import RDKitMol
1824
1925
2026class MolToChemprop (MolToAnyPipelineElement ):
You can’t perform that action at this time.
0 commit comments