Skip to content

Commit

Permalink
Update lin reg code
Browse files Browse the repository at this point in the history
  • Loading branch information
robbibt committed Oct 8, 2024
1 parent d50cd14 commit 1d6a835
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
)
def test_tidal_stats(satellite_ds, modelled_freq):
# Calculate tidal stats
tidal_stats_df = tide_stats(satellite_ds, modelled_freq=modelled_freq)
tidal_stats_df = tide_stats(
satellite_ds,
modelled_freq=modelled_freq,
)

# Compare outputs to expected results (within 2% or 0.02 m)
expected_results = pd.Series({
Expand All @@ -43,7 +46,6 @@ def test_tidal_stats(satellite_ds, modelled_freq):
satellite_ds,
modelled_freq=modelled_freq,
linear_reg=True,
plain_english=False,
)

# Compare outputs to expected results (within 2% or 0.02 m)
Expand Down

0 comments on commit 1d6a835

Please sign in to comment.