From 990c1c0675f98c46e0868d01fe434007eb7f62fe Mon Sep 17 00:00:00 2001
From: Tizian Wenzel <wenzeltn@nbanm02.mathematik.uni-stuttgart.de>
Date: Thu, 8 Jun 2023 15:12:40 +0200
Subject: [PATCH] More debugging.

---
 utils_code/dataset_collection.py | 2 +-
 utils_data/custom_paths.py       | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/utils_code/dataset_collection.py b/utils_code/dataset_collection.py
index 65b849c..057e898 100644
--- a/utils_code/dataset_collection.py
+++ b/utils_code/dataset_collection.py
@@ -46,7 +46,7 @@ class Dataset():
     def example_holzmuller(self, ds_name):
         """Data set from David Holzmüller paper of batch active learning."""
 
-        path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'data/'))
+        path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'data/data/'))
 
         X = np.load(path + ds_name + '/X.npy')
         y = np.load(path + ds_name + '/y.npy')
diff --git a/utils_data/custom_paths.py b/utils_data/custom_paths.py
index 587e94b..295b548 100644
--- a/utils_data/custom_paths.py
+++ b/utils_data/custom_paths.py
@@ -1,7 +1,10 @@
+import os
+
 # This file allows to configure where to save data, results, plots etc.
 class CustomPaths:
     # path where downloaded data sets will be saved
-    data_path = 'data'
+    data_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'data/'))
+
     # path where benchmark results will be saved
     results_path = 'results'
     # path where plots and tables will be saved
-- 
GitLab