Skip to content

Commit 49da213

Browse files
committed
Fix if statement value
1 parent d32aca5 commit 49da213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

windpowerlib/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def check_data_integretiy(data):
317317
"{0}: No cp-curve but has_cp_curve=True.".format(ttype)
318318
)
319319
if dataset[1].has_power_curve is True:
320-
if len(wt.power_curve) < 22:
320+
if len(wt.power_curve) < 5:
321321
logging.warning(
322322
"{0}: power_curve is to short ({1} values),".format(
323323
ttype, len(wt.power_curve)

0 commit comments

Comments
 (0)