From 64ccf16dfab04429b8462a532bfde9155b262113 Mon Sep 17 00:00:00 2001 From: Joshua Gould Date: Mon, 8 Jan 2024 08:21:21 -0500 Subject: [PATCH] fix parsing local log file --- alto/commands/parse_monitoring_log.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alto/commands/parse_monitoring_log.py b/alto/commands/parse_monitoring_log.py index 2c74b6f..33abc1e 100644 --- a/alto/commands/parse_monitoring_log.py +++ b/alto/commands/parse_monitoring_log.py @@ -59,7 +59,8 @@ def execute(input_path, report_filename, plot_filename=None): results = [] for i in range(len(log_paths)): log_path = log_paths[i] - task, shard = get_task_and_shard(log_path) if is_dir else None + + task, shard = get_task_and_shard(log_path) if is_dir else None, None result = parse_log( scheme + "://" + log_path, details=generate_plot,