1adf6bb44e1897757464394bcf7502de30278b16,nilearn/_utils/niimg_conversions.py,,_iter_check_niimg,#Any#Any#Any#Any#Any#Any#Any#,38

Before Change


                    print("...resampled to first nifti!")

                from nilearn import image  // we avoid a circular import
                niimg = cache(image.resample_img, memory, func_memory_level=2,memory_level=memory_level)(niimg,target_affine=affine,target_shape=shape)

            if not _check_fov(niimg, affine, shape):
                raise ValueError(
                    "Field of view of image //%d is different from reference "

After Change


                if ref_fov is None:
                    ref_fov = (niimg.get_affine(), niimg.shape[:3])

            if not _check_fov(niimg, ref_fov[0], ref_fov[1]):
                if target_fov is not None:
                    from nilearn import image  // we avoid a circular import
                    niimg = cache(image.resample_img,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilearn/nilearn
Commit Name: 1adf6bb44e1897757464394bcf7502de30278b16
Time: 2015-04-20
Author: abraham.alexandre@gmail.com
File Name: nilearn/_utils/niimg_conversions.py
Class Name:
Method Name: _iter_check_niimg


Project Name: nilearn/nilearn
Commit Name: 07bbcbb72cbfcea9ef10087167163138165c5003
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: plot_poldrack_space_net.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: c943318502c17ea9d909e79ce898431282768cb9
Time: 2015-07-28
Author: elvis.dohmatob@inria.fr
File Name: plot_poldrack_space_net.py
Class Name:
Method Name: