d64b3e882f106f19ea02a5a6066e60a9c0616c5b,pynets/core/utils.py,,make_gtab_and_bmask,#Any#Any#Any#Any#Any#Any#,1413

Before Change


    for b0 in b0s:
        print(b0)
        b0_bbr = "{}/{}_b0.nii.gz".format(namer_dir, str(b0))
        cmds.append("fslroi {} {} {} 1".format(dwi_file, b0_bbr, str(b0), " 1"))
        b0s_bbr.append(b0_bbr)

    for cmd in cmds:

After Change


    // Extract and Combine all b0s collected
    print("Extracting b0\"s...")
    b0_vols = []
    dwi_img = nib.load(dwi_file)
    dwi_data = dwi_img.get_data()
    for b0 in b0s:
        print(b0)
        b0_vols.append(dwi_data[:, :, :, b0])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: dPys/PyNets
Commit Name: d64b3e882f106f19ea02a5a6066e60a9c0616c5b
Time: 2019-08-24
Author: dpisner@utexas.edu
File Name: pynets/core/utils.py
Class Name:
Method Name: make_gtab_and_bmask


Project Name: tensorlayer/tensorlayer
Commit Name: 539a9e38bb85628431f53b35ecdca746991474c7
Time: 2019-03-05
Author: 37874862+warshallrho@users.noreply.github.com
File Name: tensorlayer/models/vgg.py
Class Name: VGG
Method Name: restore_weights


Project Name: deepfakes/faceswap
Commit Name: 2783c27e0027cbae9a3d97a04d33a7ef843fcd72
Time: 2018-11-07
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/fsmedia.py
Class Name: Alignments
Method Name: load


Project Name: AlexEMG/DeepLabCut
Commit Name: 1677956a4b393c78474612e3f540a9abdf3a3664
Time: 2019-01-16
Author: amathis@fas.harvard.edu
File Name: deeplabcut/utils/auxiliaryfunctions.py
Class Name:
Method Name: read_config