a51d9ee3185ae5f83b5903d6b8549257ea4f13ff,deeplabcut/create_project/new.py,,create_new_project,#Any#Any#Any#Any#Any#Any#,18

Before Change


    cfg_file
    cfg_file["Task"]=project
    cfg_file["scorer"]=experimenter
    cfg_file["video_sets"]=video_sets
    cfg_file["project_path"]=str(project_path)
    cfg_file["date"]=d
    cfg_file["bodyparts"]=["bodypart1","bodypart2","bodypart3","objectA"]

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: 3

Non-data size: 2

Instances


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: 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: autonomio/talos
Commit Name: f75ace8051f00ed9c9342e409f99b8d084d0f583
Time: 2018-07-28
Author: mailme@mikkokotila.com
File Name: talos/reducers/spear_reducer.py
Class Name:
Method Name: spear