Skip to content

Commit

Permalink
:mag; review
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasvdd committed Jan 5, 2024
1 parent 7e2d5c6 commit d532bff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_features_feature_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,10 @@ def test_sequence_segment_start_and_end_idxs_no_multiple_windows():
segment_start_idxs = [0, 5, 3, 3]
segment_end_idxs = [5, 10, 8, 5]

fc = FeatureCollection(MultipleFeatureDescriptors([np.min], "dummy", [3, 5]))
fc = FeatureCollection(
MultipleFeatureDescriptors([np.min], "dummy", windows=[3, 5])
)
# this should all pass
_ = fc.calculate(s, stride=5)
_ = fc.calculate(s, segment_start_idxs=segment_start_idxs)
_ = fc.calculate(s, segment_end_idxs=segment_end_idxs)
Expand Down

0 comments on commit d532bff

Please sign in to comment.