diff options
author | 2016-10-17 12:17:24 +0800 | |
---|---|---|
committer | 2016-10-17 12:21:46 +0800 | |
commit | 5231def5927efd43cc158175546606d7baea0af8 (patch) | |
tree | 561d747ce4d36713f6f3a0ba0ea2bbba47b939f6 /scripts/ref_results/index_calculation.py | |
parent | 7c2b773cb9cc1edcef93d8409b6a087198922f4b (diff) |
bugfix due to directory adjustment
Some files still use directory "data/". Fix it.
Change-Id: Ia07f380c3e9c3e312d17b09728b050c818492f0f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'scripts/ref_results/index_calculation.py')
-rw-r--r-- | scripts/ref_results/index_calculation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ref_results/index_calculation.py b/scripts/ref_results/index_calculation.py index 5ca4a46e..4ead79ff 100644 --- a/scripts/ref_results/index_calculation.py +++ b/scripts/ref_results/index_calculation.py @@ -13,7 +13,7 @@ def compute_index(total_measured, ref_result, count): def get_reference(*args): - with open('data/ref_results/reference.json') as reference_file: + with open('scripts/ref_results/reference.json') as reference_file: reference_djson = json.load(reference_file) for arg in args: ref_n = reference_djson.get(str(arg)) |