Skip to content

Commit

Permalink
Merge branch 'main' into timeline-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
markjschreiber authored Aug 19, 2024
2 parents 5d8460c + be95de9 commit 460528b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ The CSV output by the command above includes the following columns:
* __storageMaximumGiB__ : Maximum gibibytes of storage used during a single 1-minute interval
* __storageAverageGiB__ : Average gibibytes of storage used by the workflow run

> [!WARNING]
> At this time AWS HealthOmics does not report the average or maximum storage used by runs that use "DYNAMIC" storage that run for under two hours. Because of this limitation the `storageMaximumGiB` and `storageAverageGiB` are set to zero and will not be included in the estimate run cost.
#### Produce a timeline plot for a run

The RunAnalyzer tool can produce an interative timeline plot of a workflow. The plots allow you to visualize how individual tasks ran over the course of the run.
Expand Down
8 changes: 3 additions & 5 deletions omics/cli/run_analyzer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,10 @@ def add_metrics(res, resources, pricing):
region = arn[3]
res["type"] = rtype

# if a run has no metrics body then we can skip the rest
if rtype == "run" and not res["metrics"]:
return

metrics = res.get("metrics", {})
res["metrics"] = metrics
# if a resource has no metrics body then we can skip the rest
if res.get("metrics") is None:
return

if rtype == "run":
add_run_util(res, resources[1:])
Expand Down

0 comments on commit 460528b

Please sign in to comment.