From 7b8aa32a04bfc515b8437e3e776d19f7c38b2950 Mon Sep 17 00:00:00 2001 From: Bryce Lorenz Kille Date: Fri, 4 Oct 2024 17:03:53 -0500 Subject: [PATCH] Fix progress when no query prefixes are provided --- src/map/include/computeMap.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/include/computeMap.hpp b/src/map/include/computeMap.hpp index 88a5ed1c..9fc725ca 100644 --- a/src/map/include/computeMap.hpp +++ b/src/map/include/computeMap.hpp @@ -307,7 +307,8 @@ namespace skch } } if (!allowed_query_names.empty() && allowed_query_names.find(seq_name) != allowed_query_names.end() - || !param.query_prefix.empty() && !prefix_skip) { + || !param.query_prefix.empty() && !prefix_skip + || param.query_prefix.empty()) { total_seqs++; total_seq_length += std::stoul(line_split[1]); }