We are not properly setting workflowType field when --workflow-type is not passed in by customer. This change ensures we default workflowType to the same as input run for the rerun tool
Testing
Tested the following commands, all worked as expected:
python3 -m omics.cli.rerun 2420306
python3 -m omics.cli.rerun 2420306 --workflow-id 1830181
python3 -m omics.cli.rerun 2420306 --run-id 2420306 (this was triggering the same bug before as well)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
https://github.com/awslabs/amazon-omics-tools/issues/39
Description of changes:
We are not properly setting
workflowType
field when--workflow-type
is not passed in by customer. This change ensures we defaultworkflowType
to the same as input run for the rerun toolTesting
Tested the following commands, all worked as expected:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.