Skip to content

Commit ee39b77

Browse files
authored
Update _dedup_umi.pyx (#677)
AttributeError: `np.Inf` was removed in the NumPy 2.0 release. Use `np.inf` instead. replaced np.Inf
1 parent ae1e875 commit ee39b77

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

umi_tools/_dedup_umi.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cpdef int edit_distance(a, b):
1111
# we only want to define hamming distances between barcodes with the same length
1212
lb = len(b)
1313
if la != lb:
14-
return np.Inf
14+
return np.inf
1515

1616
for k from 0 <= k < la:
1717
if aa[k] != bb[k]:

0 commit comments

Comments
 (0)