Skip to content

Commit

Permalink
mri_surf2vol.cpp. #NF. Added --copy-ctab
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Greve committed Jan 26, 2022
1 parent d0ed1bf commit c6bcf22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mri_surf2vol/mri_surf2vol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,9 @@ static int parse_commandline(int argc, char **argv) {
subject = ArrayLTA->subject;
nargsused = 1;
}
else if (!strcmp(option, "--copy-ctab")) {
setenv("FS_COPY_HEADER_CTAB","1",1);
}
else if (istringnmatch(option, "--ribbon",8)) {
if(nargc < 1) argnerr(option,1);
ribbon = MRIread(pargv[0]);
Expand Down Expand Up @@ -714,6 +717,7 @@ static void print_usage(void) {
printf(" \n");
printf(" Applies to both methods\n");
printf(" --add const : add constant value to each non-zero output voxel\n");
printf(" --copy-ctab : setenv FS_COPY_HEADER_CTAB 1\n");
printf(" --sd subjectsdir : FreeSurfer subjects' directory\n");
printf(" --help : hidden secrets of success\n");
printf(" --gdiagno number : set diag level\n");
Expand Down

0 comments on commit c6bcf22

Please sign in to comment.