Skip to content

Commit

Permalink
Fix formatting for yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
michellemli committed Sep 24, 2024
1 parent 0b6f6e3 commit bf72829
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tdc/resource/primekg.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ def to_nx(self):

G = nx.Graph()
for i in self.df.relation.unique():
G.add_edges_from(self.df[self.df.relation == i][["x_name",
"y_name"]].values,
relation=i)
G.add_edges_from(
self.df[self.df.relation == i][["x_name", "y_name"]].values,
relation=i)
return G

def get_features(self, feature_type):
Expand Down

0 comments on commit bf72829

Please sign in to comment.