bd78eb53776c15656943adcfbd4e72a7fb46dd6f,pynets/core/nodemaker.py,,gen_img_list,#Any#,589

Before Change


    img_stack = np.array(img_stack).astype("uint8")
    img_list = []
    for idy in range(par_max):
        roi_img_nifti = new_img_like(bna_img, img_stack[idy])
        img_list.append(roi_img_nifti)
    bna_img.uncache()
    del img_stack

After Change



    img_list = []
    for idy in range(par_max):
        img_list.append(new_img_like(bna_img, img_stack[idy]))

    bna_img.uncache()
    return img_list
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: dPys/PyNets
Commit Name: bd78eb53776c15656943adcfbd4e72a7fb46dd6f
Time: 2019-12-25
Author: dpisner@utexas.edu
File Name: pynets/core/nodemaker.py
Class Name:
Method Name: gen_img_list


Project Name: dPys/PyNets
Commit Name: e4a36f3215735f8c351beb8f27edeb02eabb121f
Time: 2019-11-04
Author: dpisner@utexas.edu
File Name: pynets/core/nodemaker.py
Class Name:
Method Name: create_parcel_atlas


Project Name: nilearn/nilearn
Commit Name: 2546c5eb9f96b3cbbde7b0fd77f16707e7429104
Time: 2016-01-12
Author: abraham.alexandre@gmail.com
File Name: nilearn/tests/test_niimg.py
Class Name:
Method Name: test_new_img_like_side_effect


Project Name: nilearn/nilearn
Commit Name: c48b3092a91293b508aa89f8b5acf7413ff6f9d5
Time: 2018-07-31
Author: jerome@dockes.org
File Name: nilearn/plotting/html_stat_map.py
Class Name:
Method Name: _decode_nii


Project Name: nilearn/nilearn
Commit Name: 57fcc8e6c6661dff7b7716189c87547c728b5af5
Time: 2015-05-10
Author: alexandre.gramfort@m4x.org
File Name: nilearn/tests/test_niimg.py
Class Name:
Method Name: test_new_img_like_mgz