Skip to content

Commit

Permalink
Correct extension of benchmark metadata files
Browse files Browse the repository at this point in the history
  • Loading branch information
elinscott committed Aug 20, 2024
1 parent 235d68f commit 1fbe224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/helpers/patches/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]:
Expand Down

0 comments on commit 1fbe224

Please sign in to comment.