b9e5bdd6e23ee782268b7f36e68fe23dd3bba4c5,pynets/registration/reg_utils.py,,match_target_vox_res,#Any#Any#Any#Any#,546

Before Change


        nib.save(img2, img_file_res)

        print("Target affine: ")
        print(affine2)
        img_file = img_file_res

    return img_file

After Change


        nib.save(img2, img_file_res)
        img_file = img_file_res
    else:
        img_file_nores = "%s%s%s%s" % (out_dir, "/", os.path.basename(img_file).split(".nii.gz")[0], "_nores.nii.gz")
        img2 = normalize_xform(img)
        nib.save(img2, img_file_nores)
        img_file = img_file_nores

    return img_file
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dPys/PyNets
Commit Name: b9e5bdd6e23ee782268b7f36e68fe23dd3bba4c5
Time: 2019-07-28
Author: dpisner@utexas.edu
File Name: pynets/registration/reg_utils.py
Class Name:
Method Name: match_target_vox_res


Project Name: jsalt18-sentence-repl/jiant
Commit Name: f11596a01e7734ce075e9594a28cc9edf6df7f1f
Time: 2018-07-25
Author: bowman@nyu.edu
File Name: major_experiment_scripts/extract_results.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: 82b2fc33adba7be79b7ebce13a40fd1e1ebc210d
Time: 2016-12-21
Author: devel@sciunto.org
File Name: doc/ext/sphinx_gallery/docs_resolv.py
Class Name:
Method Name: _embed_code_links