aces / Loris-MRI

The set of scripts that preprocess and insert MRI data into the database.
10 stars 50 forks source link

Return an error when `run_dicom_archive_validation/py` is run on an incorrect UploadID/tarchivePath combination #963

Closed cmadjar closed 1 year ago

cmadjar commented 1 year ago

Description

When run_dicom_archive_validation.pl is provided with an UploadID and an ArchiveLocation that do not refer to the same UploadID as the one provided as input to the script, an error will be printed that: [ERROR ] UploadID <UPLOAD ID> and ArchiveLocation <TARCHIVE PATH> do not refer to the same upload.

This failed silently until now.