3ae1e3fd5fad7676bdb48f94809a737648394f77,starstack.py,,register_all,#Any#Any#Any#,37

Before Change


            aligned_img = aligned_img.convert("RGB")


        if ext == "tif" and "tifffile" in sys.modules:
            print("Adding layer", i, "to layers.tif")
            tifffile.imwrite("layers.tif", aligned_arr, append=True)

        if os.path.exists(outfname):
            print("Overwriting", outfname)
        else:
            print("Creating", outfname)

After Change


    baseimg = read_image(images[0])
    baselayer = singlelayer(baseimg)

    if ext.startswith("."):
        ext = ext[1:]

    if ext.lower() == "tif" and "tifffile" in sys.modules:
        tiff_multipage = os.path.join(outdir, "layers.tif")
    else:
        tiff_multipage = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: akkana/scripts
Commit Name: 3ae1e3fd5fad7676bdb48f94809a737648394f77
Time: 2020-07-27
Author: akkana@shallowsky.com
File Name: starstack.py
Class Name:
Method Name: register_all


Project Name: BYU-PRISM/GEKKO
Commit Name: dc3f1644de74a79bdede33575fab68b50767f2b3
Time: 2019-01-03
Author: john@apmonitor.com
File Name: gekko/gekko.py
Class Name: GEKKO
Method Name: solve


Project Name: dmlc/dgl
Commit Name: cf9ba90fd47471b56efaa66128de78667b6f17b9
Time: 2019-12-18
Author: mufeili1996@gmail.com
File Name: python/dgl/model_zoo/chem/pretrain.py
Class Name:
Method Name: load_pretrained