We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f3e9f commit 97e99fcCopy full SHA for 97e99fc
chebai/preprocessing/datasets/chebi.py
@@ -897,7 +897,7 @@ def _extract_class_hierarchy(self, chebi_path: str) -> nx.DiGraph:
897
)
898
return g
899
900
- def select_classes(self, g: nx.DiGraph, *args, **kwargs) -> List:
+ def select_classes(self, g: nx.DiGraph, *args, **kwargs) -> list:
901
"""Only selects classes that meet the threshold AND are subclasses of the top class ID (including itself)."""
902
smiles = nx.get_node_attributes(g, "smiles")
903
nodes = list(
0 commit comments