In my case, the run has not the storageType of res variable.
$ python -m omics.cli.run_analyzer 7379101 -o run_7379101.csv
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/Users/hyunmink/miniforge3/envs/boto3/lib/python3.12/site-packages/omics/cli/run_analyzer/main.py", line 489, in
add_metrics(res, resources, pricing)
File "/Users/hyunmink/miniforge3/envs/boto3/lib/python3.12/site-packages/omics/cli/run_analyzer/main.py", line 339, in add_metrics
metrics["sizeReserved"] = f"{capacity} GiB"
^^^^^^^^
UnboundLocalError: cannot access local variable 'capacity' where it is not associated with a value
In my case, the run has not the
storageType
of res variable.