[x] run mass_nifti_pic.py -h
=> should print the help of the script. Make sure the help documentation is up to date.
[x] run mass_nifti_pic.py -p database_config.py
=> should print ERROR: you must specify a smallest FileID on which to run the chunking script using -s or --smallest_id option
[x] run mass_nifti_pic.py -p database_config.py -s <SMALLEST FILE ID TO PROCESS>
=> should print ERROR: you must specify a largest FileID on which to run the chunking script using -l or --largest_id option
[x] run mass_nifti_pic.py -p database_config.py -s <SMALLEST FILE ID TO PROCESS> -l <LARGEST FILE ID TO PROCESS> on files that already have pic images created
=> should print warning messages WARNING: there is already a pic for FileID 1834. Use -f or --force to overwrite it
[x] test the -f option to overwrite the pic images using the same command as previous point
=> ensure that the timestamp of the pic images correspond to the time the script was run with force option
[x] run mass_nifti_pic.py -p database_config.py -s <SMALLEST FILE ID TO PROCESS> -l <LARGEST FILE ID TO PROCESS> on files that did have their pic images created
mass_nifti_pic.py -h
=> should print the help of the script. Make sure the help documentation is up to date.mass_nifti_pic.py -p database_config.py
=> should printERROR: you must specify a smallest FileID on which to run the chunking script using -s or --smallest_id option
mass_nifti_pic.py -p database_config.py -s <SMALLEST FILE ID TO PROCESS>
=> should printERROR: you must specify a largest FileID on which to run the chunking script using -l or --largest_id option
mass_nifti_pic.py -p database_config.py -s <SMALLEST FILE ID TO PROCESS> -l <LARGEST FILE ID TO PROCESS>
on files that already have pic images created => should print warning messagesWARNING: there is already a pic for FileID 1834. Use -f or --force to overwrite it
-f
option to overwrite the pic images using the same command as previous point => ensure that the timestamp of the pic images correspond to the time the script was run with force optionmass_nifti_pic.py -p database_config.py -s <SMALLEST FILE ID TO PROCESS> -l <LARGEST FILE ID TO PROCESS>
on files that did have their pic images created