Skip to content

Commit

Permalink
Fixed f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeBajczi committed Nov 28, 2024
1 parent b11f215 commit 187925c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/slurm/arrayexecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,15 @@ def filter_previous_results(run_set, benchmark, output_handler):
previous_results = parse_results_file(result_file)
if previous_results.get("version") != benchmark.tool_version:
logging.warning(
f"Mismatch in tool version: old version={previous_results.get("version")}, current version: {benchmark.tool_version}"
f"Mismatch in tool version: old version={previous_results.get('version')}, current version: {benchmark.tool_version}"
)
shutil.rmtree(logfile_folder)
shutil.rmtree(files_folder)
return run_set.runs

if previous_results.get("options") != benchmark.options:
logging.warning(
f"Mismatch in tool options: old options='{previous_results.get("options")}', current options: '{benchmark.options}'"
f"Mismatch in tool options: old options='{previous_results.get('options')}', current options: '{benchmark.options}'"
)
shutil.rmtree(logfile_folder)
shutil.rmtree(files_folder)
Expand Down

0 comments on commit 187925c

Please sign in to comment.