summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-02-27 15:42:02 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-02-27 15:42:02 -0700
commita8dc304d0c85b3db76986f109bdcd7a530bd3045 (patch)
treecdae78833c9c007d12a3e0e663eaab178dced124
parent4d759471c3e92381bb6e8b91083b8dea5ec49b02 (diff)
Fix bug
-rw-r--r--ml_exp/qm7db.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/ml_exp/qm7db.py b/ml_exp/qm7db.py
index 8d2453f45..3fd46b6bc 100644
--- a/ml_exp/qm7db.py
+++ b/ml_exp/qm7db.py
@@ -25,15 +25,11 @@ import numpy as np
import random
-# 'hof_qm7.txt.txt' retrieved from
-# https://github.com/qmlcode/tutorial
-def qm7db(nc,
- db_path='data',
+def qm7db(db_path='data',
is_shuffled=True,
r_seed=111):
"""
Creates a list of compounds with the qm7 database.
- nc: dictionary containing nuclear charge data.
db_path: path to the database directory.
is_shuffled: if the resulting list of compounds should be shuffled.
r_seed: random seed to use for the shuffling.