Skip to content

Commit 3c77e4d

Browse files
committed
Debug paralogs count workaround for peddep
1 parent 9ccdda2 commit 3c77e4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

portal-backend/depmap/data_page/temp_update_paralogs_avail.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
def get_paralogs_summary():
66
paralogs_df = data_access.get_subsetted_df_by_labels("paralogs_25q2")
77

8-
paralogs = paralogs_df.reset_index(names=["ModelID"])
8+
# The data_access interface returns a transposed matrix, so let's transpose it back before reseting the index
9+
paralogs = paralogs_df.T.reset_index(names=["ModelID"])
910

1011
paralogs_summary = (
1112
paralogs[["ModelID"]]

0 commit comments

Comments
 (0)