From 1fbe224cff41fff34c78d60db1680ab3b907e302 Mon Sep 17 00:00:00 2001 From: Edward Linscott Date: Tue, 20 Aug 2024 17:27:46 +0200 Subject: [PATCH] Correct extension of benchmark metadata files --- tests/helpers/patches/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/patches/_utils.py b/tests/helpers/patches/_utils.py index f2caa3206..f2561ea39 100644 --- a/tests/helpers/patches/_utils.py +++ b/tests/helpers/patches/_utils.py @@ -23,7 +23,7 @@ def benchmark_filename(obj: HasDirectoryAttr) -> Path: def metadata_filename(calc: calculators.CalculatorExt) -> Path: benchmark_path = benchmark_filename(calc) - return benchmark_path.with_name(benchmark_path.name.replace('.pkl', '_metadata.pkl')) + return benchmark_path.with_name(benchmark_path.name.replace('.pkl', '_metadata.json')) def find_subfiles_of_calc(calc: calculators.CalculatorExt) -> Set[Tuple[Path, float]]: