b0779f24788328ffd928c6821f7f436da78e97cc,plantcv/analyze_NIR_intensity.py,,analyze_NIR_intensity,#Any#Any#Any#Any#Any#Any#Any#Any#,14

Before Change


        plt.savefig(fig_name_hist)
        plt.clf()
        analysis_img.append(["IMAGE", "hist", fig_name_hist])
        print("\t".join(map(str, ("IMAGE", "hist", fig_name_hist))))

        path = os.path.dirname(filename)
        fig_name = "NIR_pseudocolor_colorbar.svg"

After Change



    // make hist percentage for plotting
    pixels = cv2.countNonZero(mask1)
    hist_percent = (hist_nir / float(pixels)) * 100

    // report histogram data
    hist_header = [
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: danforthcenter/plantcv
Commit Name: b0779f24788328ffd928c6821f7f436da78e97cc
Time: 2017-04-19
Author: mgehan@danforthcenter.org
File Name: plantcv/analyze_NIR_intensity.py
Class Name:
Method Name: analyze_NIR_intensity


Project Name: deeptools/HiCExplorer
Commit Name: 0a90a1d137bb4fa0b42d3ffbe8e0594e90eafa06
Time: 2019-04-04
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/chicAggregateStatistic.py
Class Name:
Method Name: write


Project Name: geometalab/OSMDeepOD
Commit Name: 5498cb8bd7e7f3bb10ffe7d2c7ce3b0753df71e2
Time: 2017-03-20
Author: samuel.kurath@gmail.com
File Name: src/train/retrain.py
Class Name:
Method Name: get_or_create_bottleneck