Skip to content

Commit

Permalink
Fix input to generate_info: replace "met_command" with met_command
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Feb 6, 2025
1 parent 6ab213b commit a134736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/scripts/benchmark/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def generate_info(settings:dict, ts:str, description: str, subdir: str) -> None:
Generate a text file with information on the current benchmark run
:param settings: dictionary representation of the settings specified in the YAML config file
:param ts: timestamp
:param description: a name of either the current use case or MET invocation
:param description: a description of the run
:param subdir: the use case subdirectory (full path)
:return: None, write an output text file in the output path specified in the YAML config file
"""
Expand Down Expand Up @@ -411,7 +411,7 @@ def run_met_cli(settings:dict, ts, files_from_ctrack:tuple) -> None:
save_results(consolidated_df, settings['benchmark_output_path'], ts, full_filename, settings['met_subdir_name'])

# provide information about this run: Python version, etc.
generate_info(settings, ts, "met_command" , full_benchmark_path)
generate_info(settings, ts, met_command , full_benchmark_path)

def run_benchmark():
"""
Expand Down

0 comments on commit a134736

Please sign in to comment.