This PR improves the validation done on the command line parameters for script minc_insertion.pl. More specifically:
When the argument to -upload_id refers to a non-existent upload, the script displays a message indicating that the upload ID is invalid.
When the upload ID passed on the command line refers to an upload that does not have an associated tarchive (i.e value of TarchiveID for that upload is NULL in table mri_upload), an error message to that effect is displayed to the user.
This PR improves the validation done on the command line parameters for script
minc_insertion.pl
. More specifically:-upload_id
refers to a non-existent upload, the script displays a message indicating that the upload ID is invalid.tarchive
(i.e value ofTarchiveID
for that upload isNULL
in tablemri_upload
), an error message to that effect is displayed to the user.