awslabs / amazon-omics-tools

Apache License 2.0
24 stars 6 forks source link

KeyError in omics-rerun tool #39

Open smlchen opened 6 months ago

smlchen commented 6 months ago

omics-rerun tool errors out when it tries to find the key "workflowType" in the run manifest from CloudWatch and the key does not exist.

> omics-rerun 5415434 --workflow-id 3300040
Traceback (most recent call last):
  File "/Users/sachen/Desktop/amazon-omics-tools/omics/rerun/omics-rerun", line 254, in <module>
    rqst0 = start_run_request(run)
            ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sachen/Desktop/amazon-omics-tools/omics/rerun/omics-rerun", line 207, in start_run_request
    if rqst["workflowType"] != "READY2RUN":
       ~~~~^^^^^^^^^^^^^^^^
KeyError: 'workflowType'