summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-02-29 07:42:25 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-02-29 07:42:25 -0700
commite289a2de7a461a1194a47350e5339dce082972e7 (patch)
tree91a1c640b4eea2681757b2cb8c2434583d7c5e1f
parent96df3d1b5e1de08d543991172f1fb1845b073018 (diff)
Fix typo
-rw-r--r--ml_exp/__init__.py4
-rw-r--r--ml_exp/compound.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/ml_exp/__init__.py b/ml_exp/__init__.py
index 9e64d7754..4d672efd7 100644
--- a/ml_exp/__init__.py
+++ b/ml_exp/__init__.py
@@ -22,7 +22,7 @@ SOFTWARE.
"""
from ml_exp.compound import Compound
from ml_exp.representations import coulomb_matrix, lennard_jones_matrix,\
- get_helping_data, adjacency_matrix, check_bond, bag_of_stuff
+ get_helping_data, adjacency_matrix, check_bond, bag_of_bonds
from ml_exp.math import cholesky_solve
from ml_exp.qm7db import qm7db
from ml_exp.do_ml import simple_ml, do_ml
@@ -33,7 +33,7 @@ __all__ = ['Compound',
'get_helping_data',
'adjacency_matrix',
'check_bond',
- 'bag_of_stuff',
+ 'bag_of_bonds',
'cholesky_solve',
'qm7db',
'simple_ml',
diff --git a/ml_exp/compound.py b/ml_exp/compound.py
index 23c66ec27..ec5085797 100644
--- a/ml_exp/compound.py
+++ b/ml_exp/compound.py
@@ -23,7 +23,7 @@ SOFTWARE.
import numpy as np
from ml_exp.data import NUCLEAR_CHARGE
from ml_exp.representations import coulomb_matrix, lennard_jones_matrix,\
- get_helping_data, adjacency_matrix, bag_of_stuff
+ get_helping_data, adjacency_matrix, bag_of_bonds
class Compound:
@@ -139,7 +139,7 @@ class Compound:
Generate the Bag of Stuff for the compound.
size: compound size.
"""
- self.bob = bag_of_stuff(self.cm,
+ self.bob = bag_of_bonds(self.cm,
self.atoms,
size=size)