|
24 | 24 | CORRUPTED_FILE = 22 # if mismatch between file's hash & the hash stored in db |
25 | 25 | SELECT_FAILURE = 23 # if a SELECT query did not return anything |
26 | 26 | UPDATE_FAILURE = 24 # if an UPDATE query failed |
| 27 | +BAD_CONFIG_SETTING = 25 # if bad config setting |
| 28 | +MISSING_CONFIG_SETTING = 26 # if config setting has not been set in the Config module |
27 | 29 |
|
28 | 30 | # -- Common configuration failures (exit codes from 40 to 59) |
29 | 31 | INVALID_ENVIRONMENT_VAR = 40 # missing or invalid environment variable |
|
45 | 47 | PROGRAM_EXECUTION_FAILURE = 82 # if script execution failed |
46 | 48 | TARGET_EXISTS_NO_CLOBBER = 83 # target already exists but no -clobber option |
47 | 49 | UNKNOWN_PROTOCOL = 84 # if unknown acq protocol for the file to insert |
| 50 | +NOT_A_SINGLE_STUDY = 85 # if the upload regroups multiple studies |
48 | 51 | GET_SUBJECT_ID_FAILURE = 86 # if could not determine subject IDs |
49 | 52 | GET_SESSION_ID_FAILURE = 87 # if could not determine session ID |
50 | 53 | CREATE_SESSION_FAILURE = 88 # if could not create a session |
51 | 54 |
|
52 | | -FILENAME_MISMATCH = 151 |
| 55 | +PHANTOM_ENTRY_FAILURE = 150 # if the phantom entry in the text file is not 'N' nor 'Y' |
| 56 | +FILENAME_MISMATCH = 151 # if patient name and filename do not match |
53 | 57 |
|
54 | | -CHUNK_CREATION_FAILURE = 161 |
| 58 | +GET_OUTPUT_LIST_FAILURE = 160 # if could not get the list of derived data for file |
| 59 | +CHUNK_CREATION_FAILURE = 161 |
55 | 60 |
|
56 | | -CANDIDATE_MISMATCH = 181 |
| 61 | +INVALID_TARCHIVE = 180 # if tarchive validation is not set to 1 in the mri_upload table |
| 62 | +CANDIDATE_MISMATCH = 181 # if candidate PSCID and CandID do not match |
57 | 63 | BIDS_CANDIDATE_MISMATCH = 182 |
58 | 64 |
|
59 | 65 | NO_VALID_NIfTI_CREATED = 190 |
0 commit comments