We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ba7b9b commit 91fddffCopy full SHA for 91fddff
nipy/algorithms/diagnostics/tests/test_screen.py
@@ -128,8 +128,10 @@ def test_screen_slice_axis():
128
# Now the analysis works without warning
129
res = screen(explicit_img)
130
# And is the expected analysis
131
- assert_array_equal(pca_pos(res['pca'].get_data()),
132
- pca_pos(exp_res['pca'].get_data()))
+ # Very oddly on scipy 0.9 32 bit - at least - results differ between
+ # runs, so we need assert_almost_equal
133
+ assert_almost_equal(pca_pos(res['pca'].get_data()),
134
+ pca_pos(exp_res['pca'].get_data()))
135
assert_array_equal(res['ts_res']['slice_mean_diff2'],
136
exp_res['ts_res']['slice_mean_diff2'])
137
# Turn off warnings, also get expected analysis
0 commit comments