From 783925f82cf1eb8da0073630b9933db06b9e3fd4 Mon Sep 17 00:00:00 2001 From: Rafael M Mudafort Date: Thu, 18 Aug 2022 16:00:13 -0500 Subject: [PATCH] Revert path changes (see #1021) --- reg_tests/executeFASTFarmRegressionCase.py | 2 +- reg_tests/executeHydrodynPyRegressionCase.py | 2 +- reg_tests/executeOpenfastCppRegressionCase.py | 2 +- reg_tests/executeOpenfastLinearRegressionCase.py | 2 +- reg_tests/executeOpenfastRegressionCase.py | 2 +- reg_tests/executePythonRegressionCase.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reg_tests/executeFASTFarmRegressionCase.py b/reg_tests/executeFASTFarmRegressionCase.py index bf7705894..80ecac15f 100644 --- a/reg_tests/executeFASTFarmRegressionCase.py +++ b/reg_tests/executeFASTFarmRegressionCase.py @@ -24,7 +24,7 @@ import os import sys -basepath = os.path.dirname(__file__) +basepath = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.sep.join([basepath, "lib"])) import argparse import numpy as np diff --git a/reg_tests/executeHydrodynPyRegressionCase.py b/reg_tests/executeHydrodynPyRegressionCase.py index 7c1145aa9..b2eaa7f86 100644 --- a/reg_tests/executeHydrodynPyRegressionCase.py +++ b/reg_tests/executeHydrodynPyRegressionCase.py @@ -24,7 +24,7 @@ import os import sys -basepath = os.path.dirname(__file__) +basepath = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.sep.join([basepath, "lib"])) import argparse import numpy as np diff --git a/reg_tests/executeOpenfastCppRegressionCase.py b/reg_tests/executeOpenfastCppRegressionCase.py index f6f3e5edd..12a9a9698 100644 --- a/reg_tests/executeOpenfastCppRegressionCase.py +++ b/reg_tests/executeOpenfastCppRegressionCase.py @@ -16,7 +16,7 @@ import os import sys -basepath = os.path.dirname(__file__) +basepath = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.sep.join([basepath, "lib"])) import argparse import numpy as np diff --git a/reg_tests/executeOpenfastLinearRegressionCase.py b/reg_tests/executeOpenfastLinearRegressionCase.py index c480a83a4..be72443b5 100644 --- a/reg_tests/executeOpenfastLinearRegressionCase.py +++ b/reg_tests/executeOpenfastLinearRegressionCase.py @@ -24,7 +24,7 @@ import os import sys -basepath = os.path.dirname(__file__) +basepath = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.sep.join([basepath, "lib"])) import argparse import numpy as np diff --git a/reg_tests/executeOpenfastRegressionCase.py b/reg_tests/executeOpenfastRegressionCase.py index 9881054ca..7b7e0dacf 100644 --- a/reg_tests/executeOpenfastRegressionCase.py +++ b/reg_tests/executeOpenfastRegressionCase.py @@ -24,7 +24,7 @@ import os import sys -basepath = os.path.dirname(__file__) +basepath = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.sep.join([basepath, "lib"])) import argparse import numpy as np diff --git a/reg_tests/executePythonRegressionCase.py b/reg_tests/executePythonRegressionCase.py index aed63f261..7abccb2ad 100644 --- a/reg_tests/executePythonRegressionCase.py +++ b/reg_tests/executePythonRegressionCase.py @@ -25,7 +25,7 @@ import os import sys -basepath = os.path.dirname(__file__) +basepath = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, os.path.sep.join([basepath, "lib"])) sys.path.insert(0, os.path.sep.join([basepath, "..", "glue-codes", "python"])) import platform