74310f451bd204e682b27c9b296d71a22c941cd3,mltsp/run_in_docker_container.py,,predict_in_docker_container,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,241

Before Change


        copied_newpred_file_path = os.path.join(
            copied_data_dir, newpred_file_path.split("/")[-1])
        tmp_files.append(copied_newpred_file_path)
        status_code = call(
            ["cp", newpred_file_path, copied_newpred_file_path])
        arguments["newpred_file_path"] = os.path.join(
            "/home/mltsp/copied_data_files", newpred_file_path.split("/")[-1])
    if os.path.isfile(str(custom_features_script)):
        copied_custom_script_path = os.path.join(
            os.path.join(cfg.MLTSP_PACKAGE_PATH,"custom_feature_scripts"),

After Change


        copied_metadata_file_path = os.path.join(
            copied_data_dir, ntpath.basename(metadata_file))
        tmp_files.append(copied_metadata_file_path)
        shutil.copy(metadata_file, copied_metadata_file_path)
        arguments["metadata_file"] = os.path.join(
            "/home/mltsp/copied_data_files", ntpath.basename(metadata_file))

    arguments["path_map"] = {copied_data_dir,"/home/mltsp/copied_data_files"}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: cesium-ml/cesium
Commit Name: 74310f451bd204e682b27c9b296d71a22c941cd3
Time: 2015-02-09
Author: a.crellinquick@gmail.com
File Name: mltsp/run_in_docker_container.py
Class Name:
Method Name: predict_in_docker_container


Project Name: cesium-ml/cesium
Commit Name: 74310f451bd204e682b27c9b296d71a22c941cd3
Time: 2015-02-09
Author: a.crellinquick@gmail.com
File Name: mltsp/run_in_docker_container.py
Class Name:
Method Name: featurize_in_docker_container


Project Name: kubeflow/kubeflow
Commit Name: d5caf230ff50260c1a6565db35edeeddd5d407e6
Time: 2018-02-08
Author: mitake.hitoshi@gmail.com
File Name: build/boilerplate/boilerplate.py
Class Name:
Method Name: get_refs