Skip to content

Commit b03b9b8

Browse files
committed
Manage todos
1 parent dff70e7 commit b03b9b8

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

windpowerlib/power_curves.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,6 @@ def density_correct_power_curve(density, power_curve_wind_speeds,
260260
at Reiner Lemoine Institute, 2014, p. 13
261261
262262
"""
263-
# TODO: is this error raising needed? Density does not have default value
264-
# e.g. there would be an error message also without the next lines.
265263
if density is None:
266264
raise TypeError("`density` is None. For the calculation with a " +
267265
"density corrected power curve mean density at hub " +

windpowerlib/power_output.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,6 @@ def power_curve_density_correction(wind_speed, power_curve_wind_speeds,
226226
at Reiner Lemoine Institute, 2014, p. 13
227227
228228
"""
229-
# TODO: is this error raising needed? Density does not have default value
230-
# e.g. there would be an error message also without the next lines.
231229
if density is None:
232230
raise TypeError("`density` is None. For the calculation with a " +
233231
"density corrected power curve density at hub " +

0 commit comments

Comments
 (0)