867bf625663db126e655409208e4a204a4382d62,pixyz/distributions/distributions.py,DistGraph,__str__,#DistGraph#,217
Before Change
text = "Distribution:\n {}\n".format(self.prob_joint_factorized_and_text)
// Network architecture (`repr`)
network_text = repr(self)
network_text = re.sub("^", " " * 2, str(network_text), flags=re.MULTILINE)
text += "Network architecture:\n{}".format(network_text)
return text
After Change
text = "Distribution:\n {}\n".format(self.prob_joint_factorized_and_text)
// Network architecture (`repr`)
network_text = "\n".join(self._repr_atom(var, dist) for var, dist in self.node_distributions(sorted=True))
network_text = re.sub("^", " " * 2, str(network_text), flags=re.MULTILINE)
text += "Network architecture:\n{}".format(network_text)
return text
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: masa-su/pixyz
Commit Name: 867bf625663db126e655409208e4a204a4382d62
Time: 2020-07-06
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/distributions/distributions.py
Class Name: DistGraph
Method Name: __str__
Project Name: MolSSI/QCEngine
Commit Name: 5928cb36cc84496ff3521e41b24dd2e15c7f13ba
Time: 2019-02-18
Author: lori.burns@gmail.com
File Name: qcengine/programs/intf_dftd3/runner.py
Class Name:
Method Name: run_dftd3_from_arrays
Project Name: MolSSI/QCEngine
Commit Name: 5928cb36cc84496ff3521e41b24dd2e15c7f13ba
Time: 2019-02-18
Author: lori.burns@gmail.com
File Name: qcengine/programs/intf_dftd3/runner.py
Class Name:
Method Name: run_dftd3