Skip to content

Commit 72b0170

Browse files
committed
TST: Set new spike expected indices in test after new fixture addition
Set new spike expected indices in test after new fixture addition Similar to commit 4926a35. Fixes: ``` FAILED test/test_analysis.py::test_identify_spikes - assert False + where False = <function array_equal at 0x7ffa597b79b0>( array([ 42, 48, 61, 80, 98, 103, 113, 143, 324, 387, 422, 436, 449]), array([ 82, 83, 160, 179, 208, 219, 229, 233, 383, 389, 402, 421, 423,\n 439, 444])) + where <function array_equal at 0x7ffa597b79b0> = np.array_equal ``` raised in: https://github.com/nipreps/nifreeze/actions/runs/16485937114/job/46610541473?pr=181#step:11:918
1 parent e603df2 commit 72b0170

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/test_analysis.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ def test_identify_spikes(request):
152152
fd = rng.normal(0, 5, n_samples)
153153
threshold = 2.0
154154

155-
expected_indices = np.asarray(
156-
[82, 83, 160, 179, 208, 219, 229, 233, 383, 389, 402, 421, 423, 439, 444]
157-
)
155+
expected_indices = np.asarray([42, 48, 61, 80, 98, 103, 113, 143, 324, 387, 422, 436, 449])
158156
expected_mask = np.zeros(n_samples, dtype=bool)
159157
expected_mask[expected_indices] = True
160158

0 commit comments

Comments
 (0)