3ab517035d61e06e9d59bcc9b39b9710897e82c2,deeplabcut/create_project/new.py,,create_new_project,#Any#Any#Any#Any#Any#Any#,18

Before Change


           height = int(vcap.get(cv2.CAP_PROP_FRAME_HEIGHT))
           video_sets[rel_video_path] = {"crop": ", ".join(map(str, [0, width, 0, height]))}
        else:
           print("Cannot open the video file!")
           video_sets=None

    //        Set values to config file:
    cfg_file,ruamelFile = auxiliaryfunctions.create_config_template()

After Change


           video_sets[rel_video_path] = {"crop": ", ".join(map(str, [0, width, 0, height]))}
        else:
           print("Cannot open the video file! Skipping to the next one...")
           os.remove(video)  // Removing the video or link from the project

    if not len(video_sets):
        // Silently sweep the files that were already written.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 3ab517035d61e06e9d59bcc9b39b9710897e82c2
Time: 2020-04-04
Author: mathis@rowland.harvard.edu
File Name: deeplabcut/create_project/new.py
Class Name:
Method Name: create_new_project


Project Name: deeptools/HiCExplorer
Commit Name: 4cb6510478d32575fe8ba4413f7fc908e982946b
Time: 2017-11-14
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/test/test_plotTads_plotMatrix.py
Class Name:
Method Name: test_hicPlotMatrix_cool


Project Name: AlexEMG/DeepLabCut
Commit Name: a51d9ee3185ae5f83b5903d6b8549257ea4f13ff
Time: 2020-04-02
Author: amathis@fas.harvard.edu
File Name: deeplabcut/create_project/new.py
Class Name:
Method Name: create_new_project


Project Name: IndicoDataSolutions/finetune
Commit Name: 880e57c9796c5f4ed79195bdd38bc4b0d3abf25f
Time: 2018-10-01
Author: benlt@hotmail.co.uk
File Name: finetune/base.py
Class Name: BaseModel
Method Name: get_estimator