Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[imaging_non_minc_insertion] Error message obtained when an invalid upload ID is specified on the command lineline #984

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

nicolasbrossard
Copy link
Collaborator

@nicolasbrossard nicolasbrossard commented May 8, 2023

This PR removes the following error message obtained when running script imaging_non_minc_insertion.pl with an invalid argument to the -upload_id option:

DBD::mysql::st execute failed: Incorrect integer value: '<whatever_invalid_upload_id>' for column 'ProcessID' at row 1 at /data1/loris/bin/mri/uploadNeuroDB/NeuroDB/Notify.pm line 130.

The validation of the upload ID needs to happen before calling NeuroDB::Notify->spool() as this call requires a valid upload ID

@cmadjar cmadjar added this to the 25.0.0 milestone Jul 6, 2023
@laemtl
Copy link
Contributor

laemtl commented Jul 10, 2023

@nicolasbrossard Can you rebase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants