17e7c8d7acec05ee2ce5ca0317661e0e3dd07e72,ninja.py,,combine_assertions,#Any#,254
Before Change
continue
input = v["outputs"][0] // will only be a single element list
new_deps["combine assertions %s" % input] = Dep(
[input],
[input.replace("edges/sorted", "assertions")
.replace("edges", "part")
.replace("csv", "msgpack")
.replace("assertions_", "part_")],
"combine_assertions")
deps.update(new_deps)
After Change
def combine_assertions(deps):
new_deps = NoOverrideDict()
inputs = []
for k, v in deps.items():
if not k.startswith("sort edges"):
continue
this_input = v["outputs"][0] // will only be a single element list
inputs.append(this_input)
new_deps["combine assertions"] = Dep(
inputs,
[prefix + "assertions/assertions.msgpack"],
"combine_assertions"
)
deps.update(new_deps)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: commonsense/conceptnet5
Commit Name: 17e7c8d7acec05ee2ce5ca0317661e0e3dd07e72
Time: 2016-02-05
Author: rob@luminoso.com
File Name: ninja.py
Class Name:
Method Name: combine_assertions
Project Name: estnltk/estnltk
Commit Name: 65c6e38fa1d0f0d49a3b0dea22047b01bb0d5b13
Time: 2015-07-10
Author: amatsin@gmail.com
File Name: estnltk/wiki/images.py
Class Name:
Method Name: imageParser
Project Name: sassoftware/python-dlpy
Commit Name: 81212e841322442c03e3b3df80ab4db3e7aecfb9
Time: 2019-05-31
Author: docair@v64-docair-09.dept-ter.sashq-d.openstack.sas.com
File Name: dlpy/model_conversion/write_keras_model_parm.py
Class Name:
Method Name: write_keras_hdf5