diff --git a/Wrappers/Python/cil/utilities/dataexample.py b/Wrappers/Python/cil/utilities/dataexample.py index 1acdf66411..32dc35071d 100644 --- a/Wrappers/Python/cil/utilities/dataexample.py +++ b/Wrappers/Python/cil/utilities/dataexample.py @@ -75,6 +75,8 @@ def download_data(cls, data_dir, prompt=True): with ZipFile(os.path.join(data_dir, cls.ZIP_FILE), 'r') as zip_ref: zip_ref.extractall(os.path.join(data_dir, cls.FOLDER)) os.remove(os.path.join(data_dir, cls.ZIP_FILE)) + if os.path.exists(os.path.join(data_dir, 'md5sums.txt')): + os.remove(os.path.join(data_dir, 'md5sums.txt')) return True class BOAT(CILDATA):