From 2aa4f2b22869030fab08afe7827cfa9cb27cfed9 Mon Sep 17 00:00:00 2001 From: rlreamy <34109594+rlreamy@users.noreply.github.com> Date: Thu, 30 Oct 2025 14:11:16 -0400 Subject: [PATCH] Update dlu_management.py Fix the conditions for getting a package id for slides --- data_management/services/dlu_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_management/services/dlu_management.py b/data_management/services/dlu_management.py index 04a62f6..635ca82 100644 --- a/data_management/services/dlu_management.py +++ b/data_management/services/dlu_management.py @@ -248,7 +248,7 @@ def get_redcap_ids_with_null_package_id(self): def get_package_ids_for_redcap_id(self, redcap_id): return self.db.get_data( - "select dlu_package_id from dlu_package_inventory where dlu_subject_id = %s and globus_dlu_status = 'success'", (redcap_id,) + "select dlu_package_id from dlu_package_inventory where dlu_subject_id = %s and globus_dlu_status IS NULL", (redcap_id,) ) def update_package_ids_in_slide_scan_curation(self, redcap_id, package_id):