0c6388a26950beaeec0925e67b9bfb55ccfa2fde,nilearn/tests/test_niimg_conversions.py,,test_iterator_generator,#,496
Before Change
def test_iterator_generator():
// Create a list of random images
l = [Nifti1Image(np.random.random((10, 10, 10)) , np.eye(4))
for i in range(10)]
cc = _utils.concat_niimgs(l)
assert cc.shape[-1] == 10
After Change
def test_iterator_generator():
// Create a list of random images
rng = np.random.RandomState(42)
list_images = [
Nifti1Image(
rng.random_sample((10, 10, 10)) , np.eye(4)
)
for i in range(10)
]
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 6
Instances Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/tests/test_niimg_conversions.py
Class Name:
Method Name: test_iterator_generator
Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/tests/test_niimg_conversions.py
Class Name:
Method Name: nifti_generator
Project Name: scikit-image/scikit-image
Commit Name: 9659d26294b83b3e45767e892d5a3fc62462df56
Time: 2016-05-06
Author: kevin@klarismo.com
File Name: skimage/measure/tests/test_fit.py
Class Name:
Method Name: test_ransac_geometric
Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/plotting/tests/test_img_plotting.py
Class Name:
Method Name: test_plot_noncurrent_axes
Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/input_data/tests/test_nifti_masker.py
Class Name:
Method Name: test_5d
Project Name: nilearn/nilearn
Commit Name: 0c6388a26950beaeec0925e67b9bfb55ccfa2fde
Time: 2020-10-06
Author: 46817791+chouhanaryan@users.noreply.github.com
File Name: nilearn/input_data/tests/test_nifti_masker.py
Class Name:
Method Name: test_4d_single_scan