7abe62996997823e6a5894791b1806d9803e0942,src/sos/executor_utils.py,,create_task,#Any#Any#Any#Any#,177

Before Change


            env.sos_dict["_runtime"][k] = v
    //
    // prepare task variables
    env.sos_dict["_runtime"]["cur_dir"] = os.getcwd()
    // we need to record the verbosity and sigmode of task during creation because
    // they might be changed while the task is in the queue waiting to be
    // submitted (this happens when tasks are submitted from Jupyter)
    env.sos_dict["_runtime"]["verbosity"] = env.verbosity

After Change


        "run_mode", "run")
    if "workdir" not in env.sos_dict["_runtime"]:
        env.sos_dict["_runtime"]["workdir"] = path.cwd()
    elif "TASK" in env.config["SOS_DEBUG"]:
        env.log_to_file("TASK", f"Using specified workdir {env.sos_dict["_runtime"]["workdir"]}")

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: vatlab/SoS
Commit Name: 7abe62996997823e6a5894791b1806d9803e0942
Time: 2019-04-14
Author: ben.bog@gmail.com
File Name: src/sos/executor_utils.py
Class Name:
Method Name: create_task


Project Name: mbernico/snape
Commit Name: 23e34bccf09cb8c1df7bff8ecd99535b0a086b9c
Time: 2017-03-17
Author: bradsliz@gmail.com
File Name: snape/test/test_make_image_dataset.py
Class Name: TestImageNet
Method Name: test_get_images


Project Name: mbernico/snape
Commit Name: 23e34bccf09cb8c1df7bff8ecd99535b0a086b9c
Time: 2017-03-17
Author: bradsliz@gmail.com
File Name: snape/test/test_make_image_dataset.py
Class Name: TestImageNet
Method Name: test_sample_synset_links