6db87ba04e5c298d5e4fa9c6e722b38d5fd0bdb7,mltsp/featurize.py,,extract_serial,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,226

Before Change


    
    objects = []
    zipfile = tarfile.open(zipfile_path)
    zipfile.extractall(path=os.path.join(cfg.UPLOAD_FOLDER, "unzipped"))
    all_fnames = zipfile.getnames()
    num_objs = len(fname_class_dict)
    zipfile_name = ntpath.basename(zipfile_path)
    count = 0

After Change


    objects = []
    zipfile = tarfile.open(zipfile_path)
    unzip_dir = tempfile.mkdtemp()
    zipfile.extractall(path=unzip_dir)
    all_fnames = zipfile.getnames()
    num_objs = len(fname_class_dict)
    zipfile_name = ntpath.basename(zipfile_path)
    count = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: cesium-ml/cesium
Commit Name: 6db87ba04e5c298d5e4fa9c6e722b38d5fd0bdb7
Time: 2015-04-21
Author: a.crellinquick@gmail.com
File Name: mltsp/featurize.py
Class Name:
Method Name: extract_serial


Project Name: eth-cscs/reframe
Commit Name: 7033833ce264a1282f732e65a4b8654c14275fb4
Time: 2020-12-18
Author: jgp@cscs.ch
File Name: cscs-checks/prgenv/mpi_t.py
Class Name: MpiTCheck
Method Name: set_sanity


Project Name: cesium-ml/cesium
Commit Name: 9e227261c7177192587629890ca3014cd3a94e28
Time: 2015-04-30
Author: a.crellinquick@gmail.com
File Name: mltsp/parallel_processing.py
Class Name:
Method Name: featurize_in_parallel