Skip to content

Commit

Permalink
mri_annotation2label.cpp. #DOC. Now prints the path to the output fil…
Browse files Browse the repository at this point in the history
…e with --lobes
  • Loading branch information
Douglas Greve committed Nov 29, 2021
1 parent 5bd99da commit 18e5a16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mri_annotation2label/mri_annotation2label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ int main(int argc, char **argv)

if(LobesFile) {
MRISaparc2lobes(Surf, (int) Ge_lobarDivision);
printf("Writing annot to %s\n",LobesFile);
MRISwriteAnnotation(Surf,LobesFile);
if(ctabfile != NULL) {
Surf->ct->idbase = segbase;
Expand All @@ -225,6 +226,7 @@ int main(int argc, char **argv)
}
Surf->vertices[vtxno].annotation = 0;
}
printf("Writing border annot to %s\n",BorderAnnotFile);
err = MRISwriteAnnotation(Surf,BorderAnnotFile);
if(err) {
printf("ERROR: cannot write %s\n",BorderAnnotFile);
Expand Down

0 comments on commit 18e5a16

Please sign in to comment.