From 36a4eed7ddd444a940b0e80cfdeb41d84999e4e0 Mon Sep 17 00:00:00 2001 From: Sam Horsfield Date: Fri, 11 Oct 2024 12:08:13 +0100 Subject: [PATCH] Ensure low scoring ORFs are correctly removed --- src/graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph.cpp b/src/graph.cpp index 38bdf94..b2821de 100644 --- a/src/graph.cpp +++ b/src/graph.cpp @@ -440,7 +440,7 @@ std::pair, std::map> Graph::f // remove all ORFs for (const auto& homolog_ID : centroid_found->second) { - to_remove[colour.first].insert(homolog_ID.second); + to_remove[homolog_ID.first].insert(homolog_ID.second); } // remove from cluster map