From 6fe927c5e08fa56633dd24346f4b4747555aab1b Mon Sep 17 00:00:00 2001
From: David Luevano <55825613+luevano@users.noreply.github.com>
Date: Tue, 18 Feb 2020 21:43:23 -0700
Subject: Fix bug

---
 ml_exp/do_ml.py         | 2 +-
 ml_exp/read_qm7_data.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ml_exp/do_ml.py b/ml_exp/do_ml.py
index ebb0e505f..110242a1d 100644
--- a/ml_exp/do_ml.py
+++ b/ml_exp/do_ml.py
@@ -150,7 +150,7 @@ def do_ml(min_training_size,
 
     # Data reading.
     molecules, nuclear_charge, energy_pbe0, energy_delta =\
-        read_qm7_data(r_seed)
+        read_qm7_data(r_seed=r_seed)
 
     # Matrices calculation.
     cm_data, ljm_data = parallel_create_matrices(molecules,
diff --git a/ml_exp/read_qm7_data.py b/ml_exp/read_qm7_data.py
index 06de44b02..81be05a17 100644
--- a/ml_exp/read_qm7_data.py
+++ b/ml_exp/read_qm7_data.py
@@ -35,7 +35,7 @@ def read_nc_data(data_path):
     data_path: path to the data directory.
     """
     fname = 'periodic_table_of_elements.txt'
-    with open(''.join([data_path, '\\', fname]), 'r') as infile:
+    with open(''.join([data_path, '/', fname]), 'r') as infile:
         temp_lines = infile.readlines()
 
     del temp_lines[0]
-- 
cgit v1.2.3-70-g09d2