Skip to content

Commit

Permalink
display mri upload ids
Browse files Browse the repository at this point in the history
  • Loading branch information
maximemulder committed Feb 14, 2025
1 parent 352e8be commit 65bc674
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/lib/dcm2bids_imaging_pipeline_lib/base_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,10 @@ def load_mri_upload_and_dicom_archive(self):
case _:
log_error_exit(
self.env,
f"Found {len(mri_uploads)} rows in mri_upload for 'TarchiveID' {self.dicom_archive.id}",
(
f"Found {len(mri_uploads)} rows in mri_upload for 'TarchiveID' {self.dicom_archive.id}.\n"
f"MRI upload IDs are {', '.join(map(lambda mri_upload: str(mri_upload.id), mri_uploads))}."
),
lib.exitcode.SELECT_FAILURE,
)

Expand Down

0 comments on commit 65bc674

Please sign in to comment.