Skip to content

Commit

Permalink
fix: avoid issue that occurs with single callset (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester authored Sep 28, 2023
1 parent d4db0c2 commit c41b1c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/scripts/collect-fp-fn.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_idx_sorted_by_clustering(data):

data = data.dropna(how="all")

if not data.empty:
if not data.empty and data.shape[1] > 1:
idx_rows = get_idx_sorted_by_clustering(data)
idx_cols = get_idx_sorted_by_clustering(data.T)
data = data.iloc[idx_rows, idx_cols]
Expand Down

0 comments on commit c41b1c3

Please sign in to comment.