384d9c3cf0e79c592f43c8fd23623f95fbee91ac,release.py,,update_core_jsonnet,#Any#Any#Any#,102

Before Change


            for raw_line in f:
                output_line = raw_line
                for srch_str in ["seldonio/apife","seldonio/cluster-manager", "seldonio/engine"]:
                    if raw_line.find(srch_str + ":") > 0:
                        output_line = get_output_line(raw_line, srch_str)
                ftmp.write(output_line)
        if debug:
            print("created {tmpfpath}".format(**locals()))

After Change


        with open(tmpfpath, "w") as ftmp:
            for raw_line in f:
                output_line = raw_line
                if output_line.startswith("// @optionalParam seldonVersion"):
                    output_line = "// @optionalParam seldonVersion string "+seldon_core_version+" Seldon version\n"
                ftmp.write(output_line)
        if debug:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: SeldonIO/seldon-core
Commit Name: 384d9c3cf0e79c592f43c8fd23623f95fbee91ac
Time: 2018-11-26
Author: cc@seldon.io
File Name: release.py
Class Name:
Method Name: update_core_jsonnet


Project Name: Qiskit/qiskit-aqua
Commit Name: 4f804b0e60cefa3048e0a485510a682f7bbaf604
Time: 2018-10-18
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/single_sample/iqpe/iqpe.py
Class Name: IQPE
Method Name: init_args


Project Name: Qiskit/qiskit-aqua
Commit Name: 4f804b0e60cefa3048e0a485510a682f7bbaf604
Time: 2018-10-18
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/single_sample/qpe/qpe.py
Class Name: QPE
Method Name: init_args