0ef2bfb1adda578c45e9c56412f86c02b950c0a3,deeplabcut/utils/make_labeled_video.py,,CreateVideoSlow,#,175

Before Change


    if Frames2plot == None:
        Index = range(nframes)
    else:
        Index = []
        for k in Frames2plot:
            if k >= 0 and k < nframes:
                Index.append(int(k))

After Change


    if Frames2plot is None:
        Index = set(range(nframes))
    else:
        Index = {int(k) for k in Frames2plot if 0 <= k < nframes}

    // Prepare figure
    prev_backend = plt.get_backend()
    plt.switch_backend("agg")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: 0ef2bfb1adda578c45e9c56412f86c02b950c0a3
Time: 2020-06-18
Author: saveliy.m.yusufov@gmail.com
File Name: deeplabcut/utils/make_labeled_video.py
Class Name:
Method Name: CreateVideoSlow


Project Name: comic/grand-challenge.org
Commit Name: c7c47bbaf9c48c1919d3f7b928614d9f1300b7d3
Time: 2020-06-27
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/grandchallenge/cases/image_builders/tiff.py
Class Name:
Method Name: image_builder_tiff


Project Name: comic/grand-challenge.org
Commit Name: c7c47bbaf9c48c1919d3f7b928614d9f1300b7d3
Time: 2020-06-27
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/grandchallenge/cases/image_builders/dicom.py
Class Name:
Method Name: image_builder_dicom