Skip to content

Commit

Permalink
fix mistaken argument, thank you mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Aug 5, 2024
1 parent aede079 commit 23f3166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anglerfish/demux/demux.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def cluster_matches(
entry_min_index_dist = entries[entries_min_index_dist_loc]

# If several samples in the sheet are equidistant from the read, skip the read
if entries_index_dists.count(entry_min_index_dist) > 1:
if entries_index_dists.count(min(entries_index_dists)) > 1:
continue

# Get the coordinates of the read insert
Expand Down

0 comments on commit 23f3166

Please sign in to comment.