Skip to content

Commit dcfdb89

Browse files
committed
Fix wrong fix - sorry
1 parent 7b8a992 commit dcfdb89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

windpowerlib/wind_turbine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,9 @@ def get_turbine_types(print_out=True):
387387
"""
388388

389389
df = load_turbine_data_from_oedb()
390-
cp_curves_df = df.iloc[df.loc[df['has_cp_curve'] is True].index][
390+
cp_curves_df = df.iloc[df.loc[df['has_cp_curve']].index][
391391
['manufacturer', 'turbine_type', 'has_cp_curve']]
392-
p_curves_df = df.iloc[df.loc[df['has_power_curve'] is True].index][
392+
p_curves_df = df.iloc[df.loc[df['has_power_curve']].index][
393393
['manufacturer', 'turbine_type', 'has_power_curve']]
394394
curves_df = pd.merge(p_curves_df, cp_curves_df, how='outer',
395395
sort=True).fillna(False)

0 commit comments

Comments
 (0)