From 35c67cbc80ecc52d2ea494c75d5cfdef10c5952c Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 17 Mar 2025 10:49:38 +0000 Subject: [PATCH] . --- atlas/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/tasks.py b/atlas/tasks.py index 52dbefae..26b7a769 100644 --- a/atlas/tasks.py +++ b/atlas/tasks.py @@ -22,7 +22,7 @@ def push_case_to_cimar_task(case_id): for series in case.get_series(): print(f"Upload series: {series}") - for image in series.images.all(): + for image in series.images.filter(removed=False): data = api.upload_dicom(image.image.path, study_uid=study_uid)