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 6dd27a3 commit 5064f9aCopy full SHA for 5064f9a
nibabel/freesurfer/tests/test_mghformat.py
@@ -217,7 +217,7 @@ def test_header_updating():
217
assert_almost_equal(mgz.affine, exp_aff, 6)
218
assert_almost_equal(hdr.get_affine(), exp_aff, 6)
219
# Test that initial wonky header elements have not changed
220
- assert np.array_equal(hdr['delta'], 1)
+ assert np.all(hdr['delta'] == 1)
221
assert_almost_equal(hdr['Mdc'].T, exp_aff[:3, :3])
222
# Save, reload, same thing
223
img_fobj = io.BytesIO()
0 commit comments