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

Before Change


                                ndim=(ndim - 1 if ndim is not None else None),
                                atleast_4d=atleast_4d)
            if affine is None:
                affine = niimg.get_affine()
                shape = niimg.shape[:3]
                ndim = len(niimg.shape) + 1

            if (auto_resample == True) and (not np.array_equal(

After Change


                        "reference FOV.\n"
                        "Reference affine:\n%r\nImage affine:\n%r\n"
                        "Reference shape:\n%r\nImage shape:\n%r\n"
                        % (i, ref_fov[0], niimg.get_affine(), ref_fov[1],
                           niimg.shape))
            yield niimg
        except TypeError as exc:
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: nipy/dipy
Commit Name: 81a8b727b37afe8ea76326a8d088d436e6b1b7bf
Time: 2011-01-19
Author: matthew.brett@gmail.com
File Name: dipy/external/fsl.py
Class Name:
Method Name: flirt2aff


Project Name: nilearn/nilearn
Commit Name: 530e3ca9148a36982c110007c081a571eff660e1
Time: 2013-05-27
Author: philippe.gervais@inria.fr
File Name: nisl/io/nifti_region.py
Class Name: NiftiMapsMasker
Method Name: transform