Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
eccoope committed Apr 17, 2024
1 parent 4ad80cd commit 6de642c
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 @@ -76,7 +76,7 @@ def test_categorize():
# np.nan, vr<thres, vr<thres, vr=thres, vr>thres, vr>thres, vr<thres
# vo>thres, vo>thres, vo>thres, vo>thres, vo>thres, vo>thres, vo<thres
# tr<thres, np.nan, tr>thres, tr<thres, tr<thres, tr<thres, tr>thres
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)
Expand Down

1 comment on commit 6de642c

@cwhanse
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nuhuh, that combination should be 0

Please sign in to comment.