I was trying to get tcr-dist into a Docker container and one of the times while testing the data download failed. Yet, the container built. The reason is that when failing setup.py returns the default value for exit() which is 0 (success). I changed that to 1 in the places I deemed appropriate so that now Docker will fail when building an image and failing to download some of the data.
I am not an expert in python at all so I may be missing something...
I was trying to get
tcr-dist
into a Docker container and one of the times while testing the data download failed. Yet, the container built. The reason is that when failingsetup.py
returns the default value forexit()
which is 0 (success). I changed that to 1 in the places I deemed appropriate so that now Docker will fail when building an image and failing to download some of the data.I am not an expert in python at all so I may be missing something...