summaryrefslogtreecommitdiffstats
path: root/scripts/ref_results/index_calculation.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ref_results/index_calculation.py')
-rw-r--r--scripts/ref_results/index_calculation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ref_results/index_calculation.py b/scripts/ref_results/index_calculation.py
index 4ead79ff..95c3c4a6 100644
--- a/scripts/ref_results/index_calculation.py
+++ b/scripts/ref_results/index_calculation.py
@@ -28,7 +28,7 @@ def generic_index(dict_gen, testcase, reference_num, *args):
result = 0
for k, v in dict_gen.iteritems():
dict_temp = dict_gen[k]
- if dict_gen[k]['name'] == str(testcase):
+ if dict_gen[k]['name'] == '{0}.yaml'.format(testcase):
count = count + 1
for arg in args:
if arg == args[c - 1]: