4768110c4624b76f36db65c2a7e5370174ae4eee,pynets/dmri/track.py,,track_ensemble,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,309

Before Change


            stream_counter = len(Streamlines([i for j in all_streams for i in
                                              j]).data)
        except BaseException:
            if ix > 10:
                raise ValueError("No streamlines identified for consecutive"
                                 " sampling iterations...")
            else:
                print("0 or Invalid streamlines encountered. Skipping...")
                ix += 1
        print(
            "%s%s%s%s"
            % (
                "\nCumulative Streamline Count: ",

After Change



    all_streams = []
    ix = 0
    while float(stream_counter) < float(target_samples) and float(ix) < 5:
        out_streams = Parallel(n_jobs=nthreads, verbose=10, backend="loky",
                               mmap_mode="r+", max_nbytes=1e6)(
            delayed(run_tracking)(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dPys/PyNets
Commit Name: 4768110c4624b76f36db65c2a7e5370174ae4eee
Time: 2020-07-26
Author: dpisner@utexas.edu
File Name: pynets/dmri/track.py
Class Name:
Method Name: track_ensemble


Project Name: chainer/chainer
Commit Name: d68f9f399c547634879dfb2fd5640a27da01a75d
Time: 2019-08-20
Author: ecastill@preferred.jp
File Name: chainer/function_node.py
Class Name:
Method Name: grad


Project Name: oddt/oddt
Commit Name: 1a2b6a95bd94015ba28aa291c97350fc5762d061
Time: 2017-11-23
Author: maciek@wojcikowski.pl
File Name: oddt/toolkits/extras/rdkit.py
Class Name:
Method Name: PDBQTAtomLines