Skip to content

Commit

Permalink
[fix] bug in nmtf_utils l 436 #0
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeissler committed Apr 29, 2024
1 parent 6c9d760 commit 96f1143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adnmtf/nmtf_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def build_clusters(
mindex1 = np.where(row_clust == k + 1)[0]
if len(mindex1) > 0:
if len(mindex1) == 1:
mindex = (mindex1,)
mindex = (mindex1[0],)
elif (nc == 2) & (k == 1):
mindex = mindex1[np.argsort(mtn[mindex1, k])]
elif (cell_plot_ordered_clusters == 1) & (nc >= 3):
Expand Down

0 comments on commit 96f1143

Please sign in to comment.