fcc22e65a2d7f07e95d470f1c3d41f269b0e6fb2,nilearn/input_data/tests/test_nifti_spheres_masker.py,,test_small_radius,#,103
Before Change
masker = NiftiSpheresMasker([seed], radius=0.1,
mask_img=nibabel.Nifti1Image(mask, affine))
assert_raises_regex(ValueError, "Sphere around seed /ǖ is empty",
masker.fit_transform,
nibabel.Nifti1Image(data, affine))
masker = NiftiSpheresMasker([seed], radius=1.6,
mask_img=nibabel.Nifti1Image(mask, affine))
masker.fit_transform(nibabel.Nifti1Image(data, affine))
After Change
masker = NiftiSpheresMasker([seed], radius=0.1,
mask_img=nibabel.Nifti1Image(mask, affine))
with pytest.raises(ValueError, match="Sphere around seed /ǖ is empty"):
masker.fit_transform(nibabel.Nifti1Image(data, affine))
masker = NiftiSpheresMasker([seed], radius=1.6,
mask_img=nibabel.Nifti1Image(mask, affine))
masker.fit_transform(nibabel.Nifti1Image(data, affine))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: nilearn/nilearn
Commit Name: fcc22e65a2d7f07e95d470f1c3d41f269b0e6fb2
Time: 2019-12-20
Author: kc.insight.pi@gmail.com
File Name: nilearn/input_data/tests/test_nifti_spheres_masker.py
Class Name:
Method Name: test_small_radius
Project Name: nilearn/nilearn
Commit Name: fcc22e65a2d7f07e95d470f1c3d41f269b0e6fb2
Time: 2019-12-20
Author: kc.insight.pi@gmail.com
File Name: nilearn/input_data/tests/test_nifti_maps_masker.py
Class Name:
Method Name: test_nifti_maps_masker_overlap
Project Name: nilearn/nilearn
Commit Name: fcc22e65a2d7f07e95d470f1c3d41f269b0e6fb2
Time: 2019-12-20
Author: kc.insight.pi@gmail.com
File Name: nilearn/tests/test_masking.py
Class Name:
Method Name: test_nifti_masker_empty_mask_warning
Project Name: nilearn/nilearn
Commit Name: fcc22e65a2d7f07e95d470f1c3d41f269b0e6fb2
Time: 2019-12-20
Author: kc.insight.pi@gmail.com
File Name: nilearn/input_data/tests/test_nifti_spheres_masker.py
Class Name:
Method Name: test_nifti_spheres_masker_overlap