From 613dec5d2a3d7d5d442e6a25dcabf0a229d7300e Mon Sep 17 00:00:00 2001 From: Mark Williams Date: Tue, 17 Feb 2026 11:53:33 +0000 Subject: [PATCH] LIMS-2054: Dont exclude peaks from MCA spectra --- api/src/Page/DC.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/src/Page/DC.php b/api/src/Page/DC.php index 4ab4da7d2..19fd524da 100644 --- a/api/src/Page/DC.php +++ b/api/src/Page/DC.php @@ -1251,8 +1251,7 @@ function _mca($id) $max_counts = floatval($l[1]); if (array_key_exists($l[0], $el_to_en)) { $els = $el_to_en[$l[0]]; - if (($els[sizeof($els) - 1] * 1000) < ($info['ENERGY'] - 1000)) - $elements[$l[0]] = array(array_map('floatval', $els), floatval($l[1]), floatval($l[2])); + $elements[$l[0]] = array(array_map('floatval', $els), floatval($l[1]), floatval($l[2])); } else array_push($el_no_match, $l[0]); }