Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekbhr committed May 7, 2024
1 parent 92f0098 commit 64393e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions sincei/_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def cluster_LSA(
Graph object.
"""
import community

# cluster on cel-topic dist
_distances = pairwise_distances(cell_topic.iloc[:, 1:], metric=distance_metric)
knn_indices, knn_distances = _get_indices_distances_from_dense_matrix(_distances, nk)
Expand Down
4 changes: 2 additions & 2 deletions sincei/scCountReads.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ def main(args=None):

num_reads_per_bin, regionList = c.run(allArgs=args)

sys.stderr.write("Number of bins " "found: {}\n".format(num_reads_per_bin.shape[0]))
sys.stderr.write("Number of bins/features " "found: {}\n".format(num_reads_per_bin.shape[0]))

if num_reads_per_bin.shape[0] < 1:
exit(
"ERROR: too few non zero bins found.\n"
"ERROR: too few non zero bins/features found.\n"
"If using --region please check that this "
"region is covered by reads.\n"
)
Expand Down

0 comments on commit 64393e7

Please sign in to comment.