Skip to content

Commit

Permalink
fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
abearab committed Apr 29, 2024
1 parent 4b290c3 commit c364743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tdc/resource/primekg.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(self, path="./data"):
self.df = df
self.path = path
super().__init__(self.df)

def get_data(self):
return self.df

Expand All @@ -80,4 +80,4 @@ def get_features(self, feature_type):
def get_node_list(self, node_type):
df = self.df
return np.unique(df[(df.x_type == node_type)].x_id.unique().tolist() +
df[(df.y_type == node_type)].y_id.unique().tolist())
df[(df.y_type == node_type)].y_id.unique().tolist())

0 comments on commit c364743

Please sign in to comment.