From ac827b0ad037e6d51ad859143ad9db8e85345e07 Mon Sep 17 00:00:00 2001 From: Molly Smith Date: Fri, 28 Jul 2023 15:15:53 -0600 Subject: [PATCH] Removed overeager error message in METexpress --- meteor_packages/mats-common/public/python/calc_stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meteor_packages/mats-common/public/python/calc_stats.py b/meteor_packages/mats-common/public/python/calc_stats.py index 5b7c8491d..518d17eed 100644 --- a/meteor_packages/mats-common/public/python/calc_stats.py +++ b/meteor_packages/mats-common/public/python/calc_stats.py @@ -237,7 +237,7 @@ def calculate_stat(statistic, stat_line_type, agg_method, outlier_qc_param, nump sub_stats = np.nan stat = 'null' except ValueError as e: - error = "Error calculating statistic: " + str(e) + # error = "Error calculating statistic: " + str(e) --- removed, it's okay to get a nan back, we don't need the whole plot to fail sub_stats = np.nan stat = 'null' return sub_stats, sub_secs, sub_levs, numpy_data, stat, error