From 0c73fee5c1385838a14c03c1e6e2a39f4ca97f0a Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 29 Oct 2024 14:58:52 -0400 Subject: [PATCH] Update connectivity.py --- xcp_d/interfaces/connectivity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcp_d/interfaces/connectivity.py b/xcp_d/interfaces/connectivity.py index c5fa21ca4..09b9c7cbc 100644 --- a/xcp_d/interfaces/connectivity.py +++ b/xcp_d/interfaces/connectivity.py @@ -269,7 +269,7 @@ def flatten_conmat(df): df.columns = ["Row", "Column", "Value"] df["Edge"] = df["Row"] + "-" + df["Column"] df = df.set_index("Edge") - df = df[["Edge", "Value"]].T + df = df[["Value"]].T return df @@ -857,7 +857,7 @@ def _run_interface(self, runtime): df.columns = ["Row", "Column", "Value"] df["Edge"] = df["Row"] + "-" + df["Column"] df = df.set_index("Edge") - df = df[["Edge", "Value"]].T + df = df[["Value"]].T elif self.inputs.kind == "labels": df = pd.read_table(in_file) df = pd.DataFrame(