forked from Archive/PX4-Autopilot
ecl process logdata script always use correct check_level_dict path
This commit is contained in:
parent
04ecc81a70
commit
2e207801d8
|
@ -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(",")
|
||||
|
|
Loading…
Reference in New Issue