From a1a66c8ec6ad41a3c8a04be466c9a1bb075648ba Mon Sep 17 00:00:00 2001 From: Vishesh <87526302+vishesh9131@users.noreply.github.com> Date: Sat, 8 Jun 2024 03:17:27 +0530 Subject: [PATCH] Update labels.py --- USECASES/unittest/labels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/USECASES/unittest/labels.py b/USECASES/unittest/labels.py index 1ae24c8..0d86cd5 100644 --- a/USECASES/unittest/labels.py +++ b/USECASES/unittest/labels.py @@ -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) @@ -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)}