Skip to content

Commit

Permalink
Update cliques.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Nov 20, 2023
1 parent 97f5642 commit 5cf9ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sssom/cliques.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
import statistics
import uuid
from collections import defaultdict
from typing import DefaultDict, Dict, List, Optional, Set, TYPE_CHECKING

from typing import TYPE_CHECKING, DefaultDict, Dict, List, Optional, Set

import pandas as pd
from sssom_schema import Mapping, MappingSet
Expand All @@ -30,6 +29,7 @@
if TYPE_CHECKING:
import networkx


def to_digraph(msdf: MappingSetDataFrame) -> "networkx.DiGraph":
"""Convert to a graph where the nodes are entities' CURIEs and edges are their mappings."""
import networkx as nx
Expand Down

0 comments on commit 5cf9ff4

Please sign in to comment.