From 4248ed37f8226c9d161270d8eef66c22ee6af4c8 Mon Sep 17 00:00:00 2001 From: Ann-Holmes <41296458+Ann-Holmes@users.noreply.github.com> Date: Mon, 21 Mar 2022 20:41:20 +0800 Subject: [PATCH] Fix bug: _combine_by_cluster The function, `_combine_by_cluster`, does not get the `clust_key` argument. --- cello/cello.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cello/cello.py b/cello/cello.py index ff960c8..b1ac634 100755 --- a/cello/cello.py +++ b/cello/cello.py @@ -426,7 +426,7 @@ def _raw_probabilities( """.format(clust_key) ) - ad_clust = _combine_by_cluster(ad) + ad_clust = _combine_by_cluster(ad, clust_key=clust_key) # If there's only one cluster, expand dimensions of expression # matrix. AnnData shrinks it, so we need to keep it as a Numpy # array.