Skip to content

Commit 5064f9a

Browse files
orduekeffigies
andauthored
Update nibabel/freesurfer/tests/test_mghformat.py
Co-Authored-By: Chris Markiewicz <[email protected]>
1 parent 6dd27a3 commit 5064f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/freesurfer/tests/test_mghformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def test_header_updating():
217217
assert_almost_equal(mgz.affine, exp_aff, 6)
218218
assert_almost_equal(hdr.get_affine(), exp_aff, 6)
219219
# Test that initial wonky header elements have not changed
220-
assert np.array_equal(hdr['delta'], 1)
220+
assert np.all(hdr['delta'] == 1)
221221
assert_almost_equal(hdr['Mdc'].T, exp_aff[:3, :3])
222222
# Save, reload, same thing
223223
img_fobj = io.BytesIO()

0 commit comments

Comments
 (0)