From ccfac032c3768f40993b52e27d1a926542c0277a Mon Sep 17 00:00:00 2001 From: Cliff Hansen Date: Wed, 17 Apr 2024 08:30:19 -0600 Subject: [PATCH] 0 not None --- 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 173e4a81..f3787747 100644 --- a/pvanalytics/tests/features/test_snow.py +++ b/pvanalytics/tests/features/test_snow.py @@ -79,7 +79,7 @@ def test_categorize(): # vr=np.nan, vrthres, vr>thres, vr>thres # trthres # None (vr), None (vmo), 1, 3, 3, 3, None - expected = np.array([None, None, 1, 2, 3, 4, None]) + expected = np.array([None, None, 1, 2, 3, 4, 0]) result = snow.categorize(vmp_ratio, transmission, measured_voltage, modeled_voltage, min_dcv, threshold_vratio, threshold_transmission)