From 0b575bc64c14628510b51af97dc7d207d150c942 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 10 Mar 2025 11:40:17 +0000 Subject: [PATCH] . --- atlas/tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atlas/tasks.py b/atlas/tasks.py index 80063006..85bcebfb 100644 --- a/atlas/tasks.py +++ b/atlas/tasks.py @@ -21,6 +21,7 @@ def push_case_to_cimar_task(case_id): study_uid = generate_uid() for series in case.get_series(): + print(f"Upload series: {series}") for image in series.images.all(): data = api.upload_dicom(image.image.path, study_uid=study_uid) @@ -28,6 +29,7 @@ def push_case_to_cimar_task(case_id): retries = 3 delay = 1 for attempt in range(retries): + print("attempt 1") try: cimar_uuid = api.get_study_by_study_uid(data["study_uid"])["uuid"] break