Skip to content

Commit

Permalink
Merge branch 'numba_hamming' of https://github.com/felixpetschko/scirpy
Browse files Browse the repository at this point in the history
… into numba_hamming
  • Loading branch information
felixpetschko committed Aug 9, 2024
2 parents c1d9d51 + 59a3c9d commit ce4f3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scirpy/ir_dist/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,8 +563,8 @@ def __init__(
self.histogram = histogram

def _make_histogram(self, row_mins):
if(self.normalize):
bins = np.arange(0,101,2)
if self.normalize:
bins = np.arange(0, 101, 2)
else:
max_value = np.max(row_mins)
bin_step = np.ceil(max_value / 100)
Expand Down

0 comments on commit ce4f3f3

Please sign in to comment.