a2538c4df2446fb4afd7700a3f63bf2ea208023e,doc/source/conf.py,,generate_apidocs,#,57

Before Change



    // Copy logo to static sub-folder for RTD to be able to locate it
    static_images_path = os.path.join(static_folder, static_images_folder)
    os.mkdir(static_images_path)
    shutil.copy(logo_path_abs, static_images_path)

    global working_dir, module_path
    output_path = working_dir

After Change



    // Copy logo to static sub-folder for RTD to be able to locate it
    static_images_path = os.path.join(static_folder, static_images_folder)
    if not os.path.exists(static_images_path):
        os.mkdir(static_images_path)
    shutil.copy(logo_path_abs, static_images_path)

    global working_dir, module_path
    output_path = working_dir
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 6

Instances


Project Name: NifTK/NiftyNet
Commit Name: a2538c4df2446fb4afd7700a3f63bf2ea208023e
Time: 2017-09-04
Author: d.shakir@ucl.ac.uk
File Name: doc/source/conf.py
Class Name:
Method Name: generate_apidocs


Project Name: osmr/imgclsmob
Commit Name: d1d9466fb6dfcd58ff6163c6db8a60e1abcaa525
Time: 2020-12-28
Author: osemery@gmail.com
File Name: prep_model.py
Class Name:
Method Name: main


Project Name: danforthcenter/plantcv
Commit Name: 86ac6632c5c84d1b5a0018d395542d649d27ca6a
Time: 2017-05-03
Author: noahfahlgren@gmail.com
File Name: tests/tests.py
Class Name:
Method Name: test_plantcv_learn_naive_bayes


Project Name: aws/sagemaker-python-sdk
Commit Name: 015108c27f252786d941dc8b86690390acdebcda
Time: 2020-03-12
Author: chuyangdeng@gmail.com
File Name: src/sagemaker/utils.py
Class Name:
Method Name: _create_or_update_code_dir


Project Name: explosion/thinc
Commit Name: 1f22af1c7f131be339b8692dd915f40176f8e028
Time: 2016-01-30
Author: honnibal@gmail.com
File Name: setup.py
Class Name:
Method Name: prepare_includes


Project Name: aws/sagemaker-python-sdk
Commit Name: b0cd4d7b993e55c495618966451e9c1edca73eeb
Time: 2020-01-28
Author: 32335935+nadiaya@users.noreply.github.com
File Name: src/sagemaker/utils.py
Class Name:
Method Name: _create_or_update_code_dir