Public-Health-Bioinformatics / cpo-pipeline

An analysis pipeline for the purpose of investigating Carbapenemase-Producing Organisms.
MIT License
1 stars 2 forks source link

Better error handling #16

Open bfjia opened 5 years ago

bfjia commented 5 years ago

Currently, if anything unexpected happens (e.g. a reference genome is not found), the workflow will raise an exception and crash. In the future, we want to add logic to somewhat recover from these errors and attempt to continue the workflow as much as possible.

bfjia commented 5 years ago

As part of this, we should also check for existence of result files to make sure all of the 3rd party programs successfully completed.