Closed everner-ds closed 6 years ago
When using shutil.rmtree, if you set ignore_errors=True, then it will do nothing and not throw an error if folder doesn't exist. Remove the if statements when using shutil.rmtree, and your code will be cleaner and easier to maintain.
https://github.com/MRN-Code/Coinstac_VBM_computation/blob/0f1b9db6567d583d9c4b67ab4664a14c1fbe87ca/vbm_use_cases_layer.py#L41
When using shutil.rmtree, if you set ignore_errors=True, then it will do nothing and not throw an error if folder doesn't exist. Remove the if statements when using shutil.rmtree, and your code will be cleaner and easier to maintain.
https://github.com/MRN-Code/Coinstac_VBM_computation/blob/0f1b9db6567d583d9c4b67ab4664a14c1fbe87ca/vbm_use_cases_layer.py#L41