From b9cc8cf87379a32e790d9e75f4ea961ac6b6cff5 Mon Sep 17 00:00:00 2001 From: David Seiferth Date: Sat, 13 Jan 2024 17:17:43 +0000 Subject: [PATCH] paths --- PoreFinding/porefinding.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PoreFinding/porefinding.py b/PoreFinding/porefinding.py index b076f2a..6b9c1c9 100644 --- a/PoreFinding/porefinding.py +++ b/PoreFinding/porefinding.py @@ -1,5 +1,6 @@ import os -bla = os.getcwd() + '/PoreFinding/' +#bla = os.getcwd() + '/PoreFinding/' +bla = os.path.realpath(__file__) + '/PoreFinding/' print(bla) import sys sys.path.append(bla)