phbradley / tcr-dist

Software tools for the analysis of epitope-specific T cell receptor (TCR) repertoires (scroll down for the README)
MIT License
79 stars 36 forks source link

Change exit code to non-zero (error) in setup.py #8

Closed ddiez closed 7 years ago

ddiez commented 7 years ago

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...