7e4f1f5aa62d962629adb53bea7c58c9070261c1,src/fetch_sex_places.py,,,#,298

Before Change


    count = 0
    for line in sex_places_neraby(remaining):
        count += 1
        print("[{:.2f}%]".format(100 * count/total), end="\r")
        with lzma.open(OUTPUT, "at") as output:
            output.write(line)

After Change


    print(msg)

    sex_place_finder = partial(sex_place_nearby, OUTPUT)
    tasks = map(sex_place_finder, iter_dicts(remaining))
    loop = asyncio.get_event_loop()
    loop.run_until_complete(asyncio.wait(tasks))
    loop.close()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 7e4f1f5aa62d962629adb53bea7c58c9070261c1
Time: 2016-11-25
Author: cuducos@gmail.com
File Name: src/fetch_sex_places.py
Class Name:
Method Name:


Project Name: deepchem/deepchem
Commit Name: 03ef391a07e08eefce7299f3a934b49505c5be16
Time: 2017-03-06
Author: lilleswing@gmail.com
File Name: examples/pdbbind/pdbbind_datasets.py
Class Name:
Method Name: featurize_pdbbind


Project Name: etal/cnvkit
Commit Name: 934291e74098fe8d09a528c95c043b43bcac9575
Time: 2016-02-22
Author: eric.talevich@gmail.com
File Name: cnvlib/antitarget.py
Class Name:
Method Name: get_background