Checks the Freesurfer system command result and will stop or warning based on whether output files exist.
check_fs_result(res, fe_before, fe_after)
res | (numeric) Result from system command |
---|---|
fe_before | (logical) did the output file exist before the command ran |
fe_after | (logical) did the output file exist after the command ran |