Closed michaelbarton closed 7 years ago
I think actually this may not necessary. The function did_exit_succcessfully
can be used to check what the exit status is of the container. Anyone using the biobox.py library can use this method to check the container exit status. Instead I think the command line interface should be providing a suitable error message to the user in this instance. This is described in bioboxes/command-line-interface#112
Currently bioboxes-py doesn't do anything with the error codes returned by docker containers. Ideally non-zero codes should be captured and a suitable exception with the biobox namespace should be raised.