Skip to content

Commit

Permalink
Update labels.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vishesh9131 committed Jun 7, 2024
1 parent ff58104 commit a1a66c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions USECASES/unittest/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def setUp(self):
adj_matrix = np.loadtxt(file_path, delimiter=",")

# Read the CSV file into a DataFrame
df = pd.read_csv("labelele.csv")
df = pd.read_csv("./SANDBOX/labelele.csv")

# # Find the top nodes
top_nodes = find_top_nodes(adj_matrix, num_nodes=5)
Expand All @@ -126,7 +126,7 @@ class TestLabels(unittest.TestCase):
def setUp(self):
self.file_path = generate_random_graph(50, seed=122)
self.adj_matrix = np.loadtxt(self.file_path, delimiter=",")
self.df = pd.read_csv("labelele.csv")
self.df = pd.read_csv("./SANDBOX/labelele.csv")
self.col = self.df.values
self.node_labels = {i: label for i, label in enumerate(self.col)}

Expand Down

0 comments on commit a1a66c8

Please sign in to comment.