Skip to content

Commit 264f1f3

Browse files
committed
Fix misleading comment for single-UMI position handling
1 parent b377081 commit 264f1f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

umi_tools/dedup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ def main(argv=None):
345345
# above are cheap and always collected from all positions.
346346
if np.random.random() < options.stats_sample_fraction:
347347

348-
# A single-UMI position has no pairs, so average
349-
# distance is -1 by convention; skip the O(N^2) call.
348+
# Single-UMI positions have no pairs; result and null
349+
# are both -1 by convention, with no null draw needed.
350350
pre_size = len(bundle)
351351
if pre_size == 1:
352352
pre_cluster_stats.append(-1)

0 commit comments

Comments
 (0)