From 23f316625c438a3f1010a97d37c9d9d0602305ef Mon Sep 17 00:00:00 2001 From: kedhammar Date: Mon, 5 Aug 2024 11:51:20 +0000 Subject: [PATCH] fix mistaken argument, thank you mypy --- anglerfish/demux/demux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anglerfish/demux/demux.py b/anglerfish/demux/demux.py index ad8e89e..abf5d31 100644 --- a/anglerfish/demux/demux.py +++ b/anglerfish/demux/demux.py @@ -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