From 2e207801d821ec7d5a91f569cc9e951a7a70aa51 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 1 Feb 2018 23:28:07 -0500 Subject: [PATCH] ecl process logdata script always use correct check_level_dict path --- Tools/ecl_ekf/process_logdata_ekf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tools/ecl_ekf/process_logdata_ekf.py b/Tools/ecl_ekf/process_logdata_ekf.py index 50d08115df..301da3cf95 100755 --- a/Tools/ecl_ekf/process_logdata_ekf.py +++ b/Tools/ecl_ekf/process_logdata_ekf.py @@ -1309,8 +1309,12 @@ test_results['filter_faults_max'][0] = np.amax(estimator_status['filter_fault_fl # calculate a master status - Fail, Warning, Pass # get the dictionary of fail and warning test thresholds from a csv file + +__location__ = os.path.realpath(os.path.join(os.getcwd(), os.path.dirname(__file__))) filename = "check_level_dict.csv" -file = open(filename) + +file = open(os.path.join(__location__, filename)); + check_levels = { } for line in file: x = line.split(",")