From 72a6d16bf1ff1a6738ffaaeae13453b052feeb58 Mon Sep 17 00:00:00 2001 From: Adam English Date: Wed, 19 Jul 2023 17:35:30 -0400 Subject: [PATCH] fixing score --- utmos/select.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utmos/select.py b/utmos/select.py index 2089163..e6979f4 100644 --- a/utmos/select.py +++ b/utmos/select.py @@ -35,7 +35,7 @@ def do_sum(matrix, sample_mask): m_score += row m_count += (row != 0).astype('int') # mask out excluded/used samples - m_count[sample_mask != 1] = 0 + m_score[sample_mask != 1] = 0 return m_score, m_count