From 6de642c8aa326ada668dee890fd39d1a34a79095 Mon Sep 17 00:00:00 2001 From: eccoope <125493409+eccoope@users.noreply.github.com> Date: Wed, 17 Apr 2024 08:24:22 -0600 Subject: [PATCH] Fixed failing test --- pvanalytics/tests/features/test_snow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvanalytics/tests/features/test_snow.py b/pvanalytics/tests/features/test_snow.py index 376479d1..d6bb353b 100644 --- a/pvanalytics/tests/features/test_snow.py +++ b/pvanalytics/tests/features/test_snow.py @@ -76,7 +76,7 @@ def test_categorize(): # np.nan, vrthres, vr>thres, vrthres, vo>thres, vo>thres, vo>thres, vo>thres, vo>thres, vothres, trthres - expected = np.array([None, None, 2, 2, 3, 4, 0]) + expected = np.array([None, None, 2, 2, 3, 4, None]) result = snow.categorize(vmp_ratio, transmission, measured_voltage, modeled_voltage, min_dcv, threshold_vratio, threshold_transmission)