Skip to content

Commit

Permalink
mri_vol2surf.cpp. #NF. Added --copy-ctab to setenv FS_COPY_HEADER_CTAB
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Greve committed Jan 25, 2022
1 parent 6080572 commit eb82742
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mri_vol2surf/mri_vol2surf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,9 @@ static int parse_commandline(int argc, char **argv) {
else if (!strcmp(option, "--use-new")) {
UseOld = 0;
}
else if (!strcmp(option, "--copy-ctab")) {
setenv("FS_COPY_HEADER_CTAB","1",1);
}
else if (!strcmp(option, "--vsm")) {
if (nargc < 1) argnerr(option,1);
vsmfile = pargv[0];
Expand Down Expand Up @@ -1306,6 +1309,7 @@ static void print_usage(void) {
printf(" --srcsynth seed : synthesize source volume\n");
printf(" --srcsynth-index : synthesize source volume with volume index no\n");
printf(" --seedfile fname : save synth seed to fname\n");
printf(" --copy-ctab : setenv FS_COPY_HEADER_CTAB to copy any ctab in the mov header\n");
printf(" --sd SUBJECTS_DIR \n");
printf(" --profile surf vol dist delta sigma interpname output\n");
printf(" Computes intensity profile from -dist:delta:+dist\n");
Expand Down

0 comments on commit eb82742

Please sign in to comment.