This function checks whether the output from dcm2nii
runs correctly in that only one nifti
file is returned if only one exists
check_dcm2nii(dcm2nii_output, include_json = TRUE)
dcm2nii_output | Output from |
---|---|
include_json | Include JSON file if in the output? |
Character vector of unique nifti filenames