From 55a47e53c95a02f2886453e9721f3f2d802ec40d Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Thu, 5 Oct 2023 10:50:35 -0400 Subject: [PATCH] #453: change to relative path --- src/lbaf/Applications/LBAF_app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lbaf/Applications/LBAF_app.py b/src/lbaf/Applications/LBAF_app.py index ba174de99..4e3778ef5 100644 --- a/src/lbaf/Applications/LBAF_app.py +++ b/src/lbaf/Applications/LBAF_app.py @@ -344,7 +344,8 @@ def __print_QOI(self) -> int: # pylint:disable=C0103:invalid-name # not snake c verbosity = int(self.__args.verbose) # Initialize file paths - target_dir = os.path.join(PROJECT_PATH, "src", "lbaf", "Model") + current_script_path = os.path.abspath(__file__) + target_dir = os.path.join(os.path.dirname(os.path.dirname(current_script_path)), "Model") rank_script_name = "lbsRank.py" object_script_name = "lbsObject.py"