summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-03-07 10:58:19 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-03-07 10:58:19 -0700
commit607c2570d827a2ba58b33c3240ca7fbdd5bbb535 (patch)
tree19ee7599fef142fc43d9186f7916c397484f2046
parentbc108b45dd7b71723a323783d1e98f1b0855136e (diff)
Fix error where cm was used instead of am
-rw-r--r--ml_exp/do_ml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ml_exp/do_ml.py b/ml_exp/do_ml.py
index e1aece986..eb57008b0 100644
--- a/ml_exp/do_ml.py
+++ b/ml_exp/do_ml.py
@@ -246,7 +246,7 @@ def do_ml(db_path='data',
if 'LJM' in identifiers:
ljm_data = np.array([comp.ljm for comp in compounds], dtype=np.float64)
if 'AM' in identifiers:
- am_data = np.array([comp.cm for comp in compounds], dtype=np.float64)
+ am_data = np.array([comp.am for comp in compounds], dtype=np.float64)
if 'BOB' in identifiers:
bob_data = np.array([comp.bob for comp in compounds], dtype=np.float64)