Skip to content
Snippets Groups Projects
Commit e4e24893 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: Resample test takes too long

parent b9185892
No related branches found
No related tags found
No related merge requests found
......@@ -1047,9 +1047,9 @@ def test_image_resample(seed):
fname = op.join(td, 'test.nii')
# Random base image shapes
for i in range(50):
for i in range(25):
shape = np.random.randint(5, 100, 3)
shape = np.random.randint(5, 50, 3)
make_random_image(fname, shape)
img = fslimage.Image(fname, mmap=False)
......@@ -1061,7 +1061,7 @@ def test_image_resample(seed):
# Random resampled image shapes
for j in range(10):
rshape = np.random.randint(5, 100, 3)
rshape = np.random.randint(5, 50, 3)
resampled, xf = img.resample(rshape, order=0)
img.save('base.nii.gz')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment