1672b5a9a47b081aa3e61c9f2ca76fae26ed8730,cheml/wrappers/cheml_cml/cheml_wrapper.py,RDKitFingerprint,fit,#RDKitFingerprint#,62
Before Change
if "molfile" in self.parameters:
molfile = self.parameters["molfile"]
self.parameters.pop("molfile")
elif not isinstance(self.legal_inputs["molfile"],type(None)):
molfile = self.legal_inputs["molfile"][0]
else:
msg = "@Task //%i(%s): " % (self.iblock + 1, self.SuperFunction) + "No molecule file (molfile) has been passed"
After Change
// step6: send out
order = [edge[1] for edge in self.Base.graph if edge[0] == self.iblock]
for token in set(order):
if token not in self.outputs:
msg = "@Task //%i(%s): not a valid output token "%s"" % (self.iblock + 1, self.Task, token)
raise NameError(msg)
elif token == "df":
self.set_value(token, model.Fingerprint())
self.outputs[token].count = order.count(token)
self.Base.send[(self.iblock, token)] = self.outputs[token]
elif token == "removed_rows":
self.set_value(token, model.removed_rows)
self.outputs[token].count = order.count(token)
self.Base.send[(self.iblock, token)] = self.outputs[token]
// step7: delete all inputs from memory
del self.inputs
class Dragon(BASE):
def fit(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: hachmannlab/chemml
Commit Name: 1672b5a9a47b081aa3e61c9f2ca76fae26ed8730
Time: 2017-11-12
Author: mojtabah@buffalo.edu
File Name: cheml/wrappers/cheml_cml/cheml_wrapper.py
Class Name: RDKitFingerprint
Method Name: fit
Project Name: Rostlab/nalaf
Commit Name: 801fb1ff303c539ed90b91fc34261a5787c768c2
Time: 2015-07-06
Author: aleksandar.bojchevski@gmail.com
File Name: nala/learning/crfsuite.py
Class Name: CRFSuite
Method Name: create_input_file
Project Name: scipy/scipy
Commit Name: 30eb3767e95cfce4e8ef68e23de7298ea5345bd7
Time: 2014-10-06
Author: warren.weckesser@gmail.com
File Name: scipy/stats/_binned_statistic.py
Class Name:
Method Name: binned_statistic_dd