Skip to content

Commit 2aa4f2b

Browse files
authored
Update dlu_management.py
Fix the conditions for getting a package id for slides
1 parent 483fe2f commit 2aa4f2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data_management/services/dlu_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def get_redcap_ids_with_null_package_id(self):
248248

249249
def get_package_ids_for_redcap_id(self, redcap_id):
250250
return self.db.get_data(
251-
"select dlu_package_id from dlu_package_inventory where dlu_subject_id = %s and globus_dlu_status = 'success'", (redcap_id,)
251+
"select dlu_package_id from dlu_package_inventory where dlu_subject_id = %s and globus_dlu_status IS NULL", (redcap_id,)
252252
)
253253

254254
def update_package_ids_in_slide_scan_curation(self, redcap_id, package_id):

0 commit comments

Comments
 (0)