Skip to content

Commit

Permalink
edditing pixdim in header, not image object
Browse files Browse the repository at this point in the history
  • Loading branch information
TheChymera committed Sep 13, 2016
1 parent 4a8fe49 commit 7073b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipy/algorithms/registration/tests/test_fmri_realign4d.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
im = load_image(funcfile)
ims = [nib.Nifti1Image(np.zeros((2, 3, 4, 5)), np.eye(4)) for i in range(4)]
for ix, imx in enumerate(ims):
imx['pixdim'][4] == ix
imx.header['pixdim'][4] == ix

def test_futurewarning():
with warnings.catch_warnings(record=True) as warns:
Expand Down

0 comments on commit 7073b8d

Please sign in to comment.