From 283fca43a2232afb518c2bce0949231aa9c904f7 Mon Sep 17 00:00:00 2001 From: Oliver Gurney-Champion Date: Mon, 6 Jan 2025 14:34:37 +0100 Subject: [PATCH] Updated Zenodo added masks --- utilities/data_simulation/Download_data.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/utilities/data_simulation/Download_data.py b/utilities/data_simulation/Download_data.py index d03d8eb4..d90fc68d 100644 --- a/utilities/data_simulation/Download_data.py +++ b/utilities/data_simulation/Download_data.py @@ -22,9 +22,12 @@ def download_data(force=False): print(f"Folder '{'download'}' created.") # Change to the specified folder os.chdir(os.path.join(base_folder,'download')) - subprocess.check_call(["zenodo_get", 'https://zenodo.org/records/10696605']) + subprocess.check_call(["zenodo_get", 'https://zenodo.org/records/14605039']) # Open the zip file if force or not os.path.exists('Data'): # Unzip the file unzip_file('OSIPI_TF24_data_phantoms.zip', '.') - os.chdir(curdir) \ No newline at end of file + os.chdir(curdir) + +if __name__ == "__main__": + download_data(force=True) \ No newline at end of file