Skip to content

Commit

Permalink
Fix test track_stat
Browse files Browse the repository at this point in the history
  • Loading branch information
stella-bourdin committed Aug 14, 2024
1 parent d7d6211 commit 288bd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_diags/test_track_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_ace(tracks_csv):

def test_duration():
data = huracanpy.load(huracanpy.example_csv_file, tracker="csv")
d = huracanpy.diags.track_stats.duration(data)
d = huracanpy.diags.track_stats.duration(data.time, data.track_id)
assert d.min() == 126
assert d.max() == 324
assert d.mean() == 210
Expand Down

0 comments on commit 288bd83

Please sign in to comment.