diff --git a/omics/cli/run_analyzer/timeline.py b/omics/cli/run_analyzer/timeline.py index b071fe9..2024635 100644 --- a/omics/cli/run_analyzer/timeline.py +++ b/omics/cli/run_analyzer/timeline.py @@ -62,7 +62,7 @@ def _get_task_timings_data(tasks, time_units="min"): task["text_x"] = (task["stopTime"] - tare).total_seconds() + 30 * time_scale_factor tasks[i] = task - task["estimatedUSD"] = task["metrics"].get("estimatedUSD", 0.0) + task["estimatedUSD"] = task.get("metrics", {}).get("estimatedUSD", 0.0) return pd.DataFrame.from_records(tasks).sort_values("creationTime")