From ea2b1a6164d1d60d73093880a94457f27c493dfd Mon Sep 17 00:00:00 2001
From: Johannes Schumann <johannes.schumann@fau.de>
Date: Tue, 23 Nov 2021 23:50:56 +0100
Subject: [PATCH] Change PROPOSAL xsec table dir to

---
 km3buu/config.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/km3buu/config.py b/km3buu/config.py
index 25279ce..b9c7a0c 100644
--- a/km3buu/config.py
+++ b/km3buu/config.py
@@ -15,6 +15,7 @@ from . import IMAGE_NAME
 from .environment import build_image
 import mendeleev
 import xml.etree.ElementTree as ElementTree
+import tempfile
 
 __author__ = "Johannes Schumann"
 __copyright__ = "Copyright 2020, Johannes Schumann and the KM3NeT collaboration."
@@ -101,7 +102,7 @@ class Config(object):
 
     @property
     def proposal_itp_tables(self):
-        default_path = abspath(join(dirname(__file__), "../.tables"))
+        default_path = tempfile.gettempdir()
         return self.get(PROPOSAL_SECTION, PROPOSAL_ITP_PATH_KEY, default_path)
 
     @proposal_itp_tables.setter
-- 
GitLab