Skip to content

Commit

Permalink
fix polars regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
paulf81 committed Aug 18, 2023
1 parent 5fb4aba commit bebe26f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/energy_ratio_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from flasc.examples.models import load_floris_artificial as load_floris
from flasc.energy_ratio_polars import energy_ratio as erp
from flasc.energy_ratio_polars.energy_ratio_utilities import add_reflected_rows
from flasc.energy_ratio_polars.energy_ratio_input import EnergyRatioInput


def load_data():
Expand Down Expand Up @@ -168,10 +169,10 @@ def test_energy_ratio_regression_polars(self):
wd_step=2.0
ws_step=1.0

df_energy = erp.get_energy_table([df],['baseline'])
eri = EnergyRatioInput([df],['baseline'])

ero = erp.compute_energy_ratio(
df_energy,
eri,
['baseline'],
test_turbines=[1],
use_predefined_ref=True,
Expand Down

0 comments on commit bebe26f

Please sign in to comment.