Closed smlchen closed 6 months ago
compute_pricing.py fails with the following error if run name is empty.
compute_pricing.py
python compute_pricing.py 9427547 Traceback (most recent call last): File "/Users/sachen/Desktop/amazon-omics-tutorials/utils/scripts/compute_pricing.py", line 147, in <module> cost = get_run_cost(args.run_id, client=session.client('omics'), offering=args.offering) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/sachen/Desktop/amazon-omics-tutorials/utils/scripts/compute_pricing.py", line 126, in get_run_cost "name": run['name'], ~~~^^^^^^^^ KeyError: 'name'
Resolved in #47
compute_pricing.py
fails with the following error if run name is empty.