Skip to content

Commit

Permalink
0 not None
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhanse committed Apr 17, 2024
1 parent 6e93d0d commit ccfac03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvanalytics/tests/features/test_snow.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_categorize():
# vr=np.nan, vr<thres, vr<thres, vr=thres, vr>thres, vr>thres, vr>thres
# tr<thres, np.nan, tr<thres, tr<thres, tr<thres, tr<thres, tr>thres
# 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)
Expand Down

0 comments on commit ccfac03

Please sign in to comment.