f5487e3b76129b97f29365058d169c72cb37e3cf,sos/sos_step.py,,execute_task,#Any#Any#Any#,69

Before Change


        if signature is None:
            env.sos_dict.set("__step_sig__", None)
        else:
            env.sos_dict.set("__step_sig__", os.path.basename(signature.proc_info).split(".")[0])
        SoS_exec(task, sigil)
        os.chdir(orig_dir)
    except Exception as e:

After Change


    (from SoS env.sos_dict). This function should be self-contained in that
    it can be handled by a task manager, be executed locally in a separate
    process or remotely on a different machine."""
    with open(task_file, "rb") as task:
        params = pickle.load(task)

    task, global_def, global_sigil, sos_dict, sigil = params.data
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: vatlab/SoS
Commit Name: f5487e3b76129b97f29365058d169c72cb37e3cf
Time: 2017-02-14
Author: ben.bog@gmail.com
File Name: sos/sos_step.py
Class Name:
Method Name: execute_task


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


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